From fc83d74b3d7b6583831a6b93630a1a9826b02f02 Mon Sep 17 00:00:00 2001 From: Koichi MATSUMOTO Date: Tue, 19 Nov 2019 16:27:04 -0800 Subject: [PATCH] fixed reCAPTCHA URL --- 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 2d7bb6a5a6bb3..a9718f2fdd111 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) {