Gate self-serve registration behind ENABLE_ACCOUNT_REGISTRATION (default false).
CI / test (pull_request) Successful in 10s
Unit Tests / test (pull_request) Successful in 10s

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:
2026-07-27 06:17:42 -05:00
parent ad44359804
commit 6e34fd95ec
8 changed files with 160 additions and 15 deletions
+4
View File
@@ -45,6 +45,10 @@ EMAIL_USE_TLS=true
# Captcha
CAPTCHA_SECRET_KEY=replace-with-captcha-secret
# Self-serve account registration (sign-up). Keep false until ready to open
# public registration; set true in chat_backend_prod.env / chat_backend_beta.env.
ENABLE_ACCOUNT_REGISTRATION=false
# Stripe / finance
STRIPE_SECRET_KEY=replace-with-stripe-secret-key
STRIPE_PUBLISHABLE_KEY=replace-with-stripe-publishable-key