First commit

This commit is contained in:
corrado.mulas
2024-11-20 02:15:30 +01:00
parent 81a5c8bd7d
commit 3ed2e3560c
2 changed files with 10 additions and 10 deletions

View File

@@ -34,7 +34,7 @@ func registerHandler(w http.ResponseWriter, r *http.Request) {
return
}
// Validate reCAPTCHA token
// Validate Turnstile token
valid, err := validateRecaptcha(req.Captcha)
if err != nil {
http.Error(w, fmt.Sprintf("CAPTCHA validation failed: %v", err), http.StatusInternalServerError)