Explorar el Código

fixed reCAPTCHA URL (#9083)

tags/v1.11.0-rc1
Koichi MATSUMOTO hace 4 años
padre
commit
30fde478db
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      modules/recaptcha/recaptcha.go

+ 1
- 1
modules/recaptcha/recaptcha.go Ver fichero

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

Cargando…
Cancelar
Guardar