Sitetree updates, and make logins take you to the dashboard
This commit is contained in:
parent
67da09a3dd
commit
091ac19f77
2 changed files with 3 additions and 3 deletions
|
@ -349,8 +349,8 @@
|
|||
"fields": {
|
||||
"title": "Log In",
|
||||
"hint": "",
|
||||
"url": "/account/login/",
|
||||
"urlaspattern": false,
|
||||
"url": "nbpy_login",
|
||||
"urlaspattern": true,
|
||||
"tree": 1,
|
||||
"hidden": false,
|
||||
"alias": null,
|
||||
|
|
|
@ -268,7 +268,7 @@ LOGIN_URL = "nbpy_login"
|
|||
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_LOGIN_REDIRECT_URL = "home"
|
||||
ACCOUNT_LOGIN_REDIRECT_URL = "dashboard"
|
||||
ACCOUNT_LOGOUT_REDIRECT_URL = "home"
|
||||
ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = 2
|
||||
ACCOUNT_USE_AUTH_AUTHENTICATE = True
|
||||
|
|
Loading…
Reference in a new issue