diff options
author | Koichi MATSUMOTO <mzch@me.com> | 2019-11-22 23:48:58 +0900 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-11-22 14:48:58 +0000 |
commit | 65a573f3c75086b766fab12d36d4e0b34165539c (patch) | |
tree | 25733d9ba370b8504eea433533df2f0eff4c93d7 /modules | |
parent | ade5ec5aa7cccc440a8c842b61f1b9ad5e6e4c06 (diff) | |
download | gitea-65a573f3c75086b766fab12d36d4e0b34165539c.tar.gz gitea-65a573f3c75086b766fab12d36d4e0b34165539c.zip |
Fix reCAPTCHA URL (#9119)
Fix reCAPTCHA issue
Diffstat (limited to 'modules')
-rw-r--r-- | modules/recaptcha/recaptcha.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/recaptcha/recaptcha.go b/modules/recaptcha/recaptcha.go index 2d7bb6a5a6..a9718f2fdd 100644 --- a/modules/recaptcha/recaptcha.go +++ b/modules/recaptcha/recaptcha.go @@ -24,7 +24,7 @@ type Response struct { ErrorCodes []string `json:"error-codes"` } -const apiURL = "/api/siteverify" +const apiURL = "api/siteverify" // Verify calls Google Recaptcha API to verify token func Verify(response string) (bool, error) { |