Implement two-layer CAPTCHA bypass

This commit is contained in:
gpt-engineer-app[bot]
2025-10-11 00:41:13 +00:00
parent c986a54fbf
commit 21acbb948c
7 changed files with 112 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
-- Add CAPTCHA bypass setting to admin_settings
INSERT INTO public.admin_settings (setting_key, setting_value, category, description)
VALUES (
'auth.captcha_bypass_enabled',
'false',
'auth',
'Allow CAPTCHA bypass for authentication (development only - requires VITE_ALLOW_CAPTCHA_BYPASS=true in environment)'
)
ON CONFLICT (setting_key) DO NOTHING;