Changeset - c279b8717d52
[Not reviewed]
0 1 0
Brett Smith - 5 years ago 2018-10-10 15:35:42
brettcsmith@brettcsmith.org
settings: Make ACCOUNT_EMAIL_CONFIRMATION_REQUIRED configurable.
1 file changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
pinaxcon/settings.py
Show inline comments
...
 
@@ -266,4 +266,6 @@ ACCOUNT_OPEN_SIGNUP = bool(int(os.environ.get("DJANGO_ACCOUNT_OPEN_SIGNUP", "0")
 
ACCOUNT_EMAIL_UNIQUE = True
 
#ACCOUNT_EMAIL_CONFIRMATION_REQUIRED = False if DEBUG else True
 
ACCOUNT_EMAIL_CONFIRMATION_REQUIRED = False
 
ACCOUNT_EMAIL_CONFIRMATION_REQUIRED = bool(int(os.environ.get(
 
    'DJANGO_ACCOUNT_CONFIRM_EMAIL',
 
    False if DEBUG else True,
 
)))
 
ACCOUNT_LOGIN_REDIRECT_URL = "dashboard"
0 comments (0 inline, 0 general)