Add Turnstile captcha to login
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m57s

This commit is contained in:
Cauê Faleiros
2026-07-28 11:34:47 -03:00
parent 5c9ab6bb11
commit 5aa1be27bb
9 changed files with 198 additions and 15 deletions

View File

@@ -112,8 +112,14 @@ N8N_WHATSAPP_TRIGGER_URL
ADMIN_EMAIL
ADMIN_PASSWORD
JWT_SECRET
TURNSTILE_SECRET_KEY
VITE_TURNSTILE_SITE_KEY
```
`TURNSTILE_SECRET_KEY` enables backend CAPTCHA enforcement on `/api/login`.
Set `VITE_TURNSTILE_SITE_KEY` at frontend build time to show Cloudflare Turnstile
on the login page.
## Validation
```bash