mirror of
https://github.com/ssep1ol/overleaf-registration-be.git
synced 2026-07-21 20:40:21 +00:00
First commit
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user