Browse Source

Fix reCAPTCHA URL (#9119)

Fix reCAPTCHA issue
tags/v1.10.1
Koichi MATSUMOTO 5 years ago committed by zeripath
parent
commit
65a573f3c7
  1. 2
      modules/recaptcha/recaptcha.go

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

Loading…
Cancel
Save