Browse Source

fixed reCAPTCHA URL (#9083)

tags/v1.11.0-rc1
Koichi MATSUMOTO 4 years ago
parent
commit
30fde478db
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/recaptcha/recaptcha.go

+ 1
- 1
modules/recaptcha/recaptcha.go View File

ErrorCodes []string `json:"error-codes"` ErrorCodes []string `json:"error-codes"`
} }


const apiURL = "/api/siteverify"
const apiURL = "api/siteverify"


// Verify calls Google Recaptcha API to verify token // Verify calls Google Recaptcha API to verify token
func Verify(response string) (bool, error) { func Verify(response string) (bool, error) {

Loading…
Cancel
Save