Update settings.py
No longer require verification
This commit is contained in:
parent
e31e923d97
commit
0ba9c8e2da
1 changed files with 2 additions and 1 deletions
|
@ -290,7 +290,8 @@ LOGIN_URL = "nbpy_login"
|
||||||
# We need to explicitly switch on signups.
|
# We need to explicitly switch on signups.
|
||||||
ACCOUNT_OPEN_SIGNUP = bool(int(os.environ.get("DJANGO_ACCOUNT_OPEN_SIGNUP", "0")))
|
ACCOUNT_OPEN_SIGNUP = bool(int(os.environ.get("DJANGO_ACCOUNT_OPEN_SIGNUP", "0")))
|
||||||
ACCOUNT_EMAIL_UNIQUE = True
|
ACCOUNT_EMAIL_UNIQUE = True
|
||||||
ACCOUNT_EMAIL_CONFIRMATION_REQUIRED = False if DEBUG else True
|
#ACCOUNT_EMAIL_CONFIRMATION_REQUIRED = False if DEBUG else True
|
||||||
|
ACCOUNT_EMAIL_CONFIRMATION_REQUIRED = False
|
||||||
ACCOUNT_LOGIN_REDIRECT_URL = "dashboard"
|
ACCOUNT_LOGIN_REDIRECT_URL = "dashboard"
|
||||||
ACCOUNT_LOGOUT_REDIRECT_URL = "home"
|
ACCOUNT_LOGOUT_REDIRECT_URL = "home"
|
||||||
ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = 2
|
ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = 2
|
||||||
|
|
Loading…
Reference in a new issue