Serve login pages using the SCRIPT_NAME if available

This commit is contained in:
MagiX13 2021-12-19 00:51:27 +01:00 committed by Christopher Charbonneau Wells
parent 17e35e6469
commit 498eddf5b6
1 changed files with 3 additions and 3 deletions

View File

@ -143,11 +143,11 @@ AUTHENTICATION_BACKENDS = [
'django.contrib.auth.backends.ModelBackend',
]
LOGIN_REDIRECT_URL = '/'
LOGIN_REDIRECT_URL = ''
LOGIN_URL = '/login/'
LOGIN_URL = 'login/'
LOGOUT_REDIRECT_URL = '/login/'
LOGOUT_REDIRECT_URL = 'login/'
# Timezone