Переглянути джерело

fixed reCAPTCHA URL (#9083)

tags/v1.11.0-rc1
Koichi MATSUMOTO 4 роки тому
джерело
коміт
30fde478db
1 змінених файлів з 1 додано та 1 видалено
  1. 1
    1
      modules/recaptcha/recaptcha.go

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

Завантаження…
Відмінити
Зберегти