Gate self-serve registration behind ENABLE_ACCOUNT_REGISTRATION (default false).
Supports chat_web_app#31: public settings + /user/create/ create company/user and return JWTs for Stripe Checkout. Document flag in env/secret templates.
This commit is contained in:
@@ -25,6 +25,9 @@ EMAIL_USE_TLS=true
|
||||
# Captcha (optional local)
|
||||
CAPTCHA_SECRET_KEY=
|
||||
|
||||
# Self-serve sign-up (default false — set true to allow /user/create/)
|
||||
ENABLE_ACCOUNT_REGISTRATION=false
|
||||
|
||||
# Stripe / finance (optional local — required for checkout + webhooks)
|
||||
STRIPE_SECRET_KEY=
|
||||
STRIPE_PUBLISHABLE_KEY=
|
||||
|
||||
Reference in New Issue
Block a user