1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 18:44:27 +00:00

Fix reCAPTCHA URL (#9119)

Fix reCAPTCHA issue
This commit is contained in:
Koichi MATSUMOTO 2019-11-22 23:48:58 +09:00 committed by zeripath
parent ade5ec5aa7
commit 65a573f3c7

View File

@ -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) {