Switch from using the admin login/logout pages to custom 'lemonauth' pages
This commit is contained in:
parent
1670b6d427
commit
c210650ca7
12 changed files with 89 additions and 3 deletions
|
@ -70,6 +70,7 @@ INSTALLED_APPS = [
|
|||
|
||||
'lemoncurry',
|
||||
'home',
|
||||
'lemonauth',
|
||||
'users',
|
||||
'wellknowns',
|
||||
]
|
||||
|
@ -147,6 +148,10 @@ AUTH_PASSWORD_VALIDATORS = [
|
|||
},
|
||||
]
|
||||
|
||||
LOGIN_URL = 'lemonauth:login'
|
||||
LOGIN_REDIRECT_URL = 'home:index'
|
||||
LOGOUT_REDIRECT_URL = LOGIN_REDIRECT_URL
|
||||
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/1.11/topics/i18n/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue