Commit 2cfa0379 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

LOGIN_URL fix

'/im' does not work if APPEND_SLASH django setting is set to False
parent f4773ed6
......@@ -85,7 +85,8 @@ static_files = {'astakos.im': ''}
AUTHENTICATION_BACKENDS = (
'astakos.im.auth_backends.EmailBackend',
'astakos.im.auth_backends.TokenBackend')
LOGIN_URL = '/im'
LOGIN_URL = '/im/'
CUSTOM_USER_MODEL = 'astakos.im.AstakosUser'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment