Przeglądaj źródła

Fix reCAPTCHA URL (#9119)

Fix reCAPTCHA issue
tags/v1.10.1
Koichi MATSUMOTO 4 lat temu
rodzic
commit
65a573f3c7
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      modules/recaptcha/recaptcha.go

+ 1
- 1
modules/recaptcha/recaptcha.go Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz