Chore: Making Account Signup Optional (#563)

Introduce new environment variable that lets you control account signups
ENABLE_ACCOUNT_SIGNUP :( true | false | api_only )
Fixes: #406

Co-authored-by: Pranav Raj S <pranavrajs@gmail.com>
This commit is contained in:
Sojan Jose
2020-02-29 11:20:33 +05:30
committed by GitHub
parent 0aad99ff0b
commit b05f843790
7 changed files with 92 additions and 15 deletions

View File

@@ -2,6 +2,12 @@ SECRET_KEY_BASE=
# Force all access to the app over SSL, default is set to false
FORCE_SSL=
# This lets you control new sign ups on your chatwoot installation
# true : default option, allows sign ups
# false : disables all the end points related to sign ups
# api_only: disables the UI for signup, but you can create sign ups via the account apis
ENABLE_ACCOUNT_SIGNUP=
#redis config
REDIS_URL=redis://redis:6379
# If you are using docker-compose, set this variable's value to be any string,