we
This commit is contained in:
+32
-1
@@ -18,8 +18,39 @@ COOKIE_SAME_SITE=Strict
|
||||
# Optional: set to your public domain if needed (e.g., example.com)
|
||||
COOKIE_DOMAIN=
|
||||
|
||||
# Bot protection
|
||||
# Bot protection (Legacy - use new captcha config below)
|
||||
TURNSTILE_SECRET_KEY="your-turnstile-secret"
|
||||
# Development bypass token (set to empty in production)
|
||||
TURNSTILE_BYPASS_TOKEN="turnstile-disabled"
|
||||
|
||||
# Captcha Configuration
|
||||
# Supported providers: turnstile, hcaptcha, recaptcha-v2, recaptcha-v3, none
|
||||
# Each verification point can use a different provider and be independently enabled/disabled
|
||||
|
||||
# Login Captcha (appears when logging in with existing account)
|
||||
CAPTCHA_LOGIN_ENABLED=false
|
||||
CAPTCHA_LOGIN_PROVIDER=turnstile
|
||||
CAPTCHA_LOGIN_SECRET=your-secret-key
|
||||
CAPTCHA_LOGIN_BYPASS_TOKEN=
|
||||
|
||||
# Registration Captcha (appears when creating new account)
|
||||
CAPTCHA_REGISTER_ENABLED=false
|
||||
CAPTCHA_REGISTER_PROVIDER=hcaptcha
|
||||
CAPTCHA_REGISTER_SECRET=your-secret-key
|
||||
CAPTCHA_REGISTER_BYPASS_TOKEN=
|
||||
|
||||
# Google OAuth Captcha (appears before OAuth flow)
|
||||
CAPTCHA_GOOGLE_OAUTH_ENABLED=false
|
||||
CAPTCHA_GOOGLE_OAUTH_PROVIDER=turnstile
|
||||
CAPTCHA_GOOGLE_OAUTH_SECRET=your-secret-key
|
||||
CAPTCHA_GOOGLE_OAUTH_BYPASS_TOKEN=
|
||||
|
||||
# Paint Captcha (appears when painting pixels)
|
||||
CAPTCHA_PAINT_ENABLED=false
|
||||
CAPTCHA_PAINT_PROVIDER=recaptcha-v3
|
||||
CAPTCHA_PAINT_SECRET=your-secret-key
|
||||
CAPTCHA_PAINT_BYPASS_TOKEN=
|
||||
# Paint Captcha Interval: Require captcha every N paint actions (0 = always require, empty = always require)
|
||||
# Example: 5 means captcha is required every 5 paint actions
|
||||
CAPTCHA_PAINT_INTERVAL=5
|
||||
|
||||
|
||||
Reference in New Issue
Block a user