1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-29 20:53:10 +00:00

fixed reCAPTCHA URL (#9083)

This commit is contained in:
Koichi MATSUMOTO 2019-11-22 17:03:45 +09:00 committed by zeripath
parent 513b9fc988
commit 30fde478db

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