From 65a573f3c75086b766fab12d36d4e0b34165539c Mon Sep 17 00:00:00 2001 From: Koichi MATSUMOTO Date: Fri, 22 Nov 2019 23:48:58 +0900 Subject: [PATCH] Fix reCAPTCHA URL (#9119) Fix reCAPTCHA issue --- 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 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) {