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:
1 parent
ad44359804
commit
6e34fd95ec
8 files changed
+160
-15
No files matched your search
@@ -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