From 30fde478db9530e27018d997bd7591220bb3d85e Mon Sep 17 00:00:00 2001 From: Koichi MATSUMOTO Date: Fri, 22 Nov 2019 17:03:45 +0900 Subject: [PATCH] fixed reCAPTCHA URL (#9083) --- modules/recaptcha/recaptcha.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/recaptcha/recaptcha.go b/modules/recaptcha/recaptcha.go index 2d7bb6a5a..a9718f2fd 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) {