summaryrefslogtreecommitdiffstats
path: root/modules/recaptcha/recaptcha.go
diff options
context:
space:
mode:
authorKoichi MATSUMOTO <mzch@me.com>2019-11-22 17:03:45 +0900
committerzeripath <art27@cantab.net>2019-11-22 08:03:45 +0000
commit30fde478db9530e27018d997bd7591220bb3d85e (patch)
tree741bd688b683a120fb222a392fad4d0703d20369 /modules/recaptcha/recaptcha.go
parent513b9fc988f0599551d2efa0a912364acaf0cd79 (diff)
downloadgitea-30fde478db9530e27018d997bd7591220bb3d85e.tar.gz
gitea-30fde478db9530e27018d997bd7591220bb3d85e.zip
fixed reCAPTCHA URL (#9083)
Diffstat (limited to 'modules/recaptcha/recaptcha.go')
-rw-r--r--modules/recaptcha/recaptcha.go2
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) {