Reapply "Add Turnstile captcha to login"

This reverts commit a7c732e139.
This commit is contained in:
Cauê Faleiros
2026-07-28 12:42:27 -03:00
parent a7c732e139
commit 252c2447a8
9 changed files with 198 additions and 15 deletions

View File

@@ -20,6 +20,13 @@ ADMIN_EMAIL=admin@admin.com
ADMIN_PASSWORD=admin123
JWT_SECRET=super_secret_jwt_key_123
# --- CAPTCHA / Bot Protection (Optional) ---
# Create keys in Cloudflare Turnstile and set both values in production.
# When TURNSTILE_SECRET_KEY is empty, backend CAPTCHA enforcement is disabled.
TURNSTILE_SECRET_KEY=
# --- Frontend Configuration (Optional) ---
# If you need to override the API URL for the frontend
# VITE_API_URL=/api
# Cloudflare Turnstile site key shown on the login page
VITE_TURNSTILE_SITE_KEY=