diff --git a/demo/demodesk/config/settings.py b/demo/demodesk/config/settings.py index 1f50a463..4ade80d6 100644 --- a/demo/demodesk/config/settings.py +++ b/demo/demodesk/config/settings.py @@ -108,8 +108,8 @@ HELPDESK_SHOW_CHANGE_PASSWORD = True # Instead of showing the public web portal first, # we can instead redirect users straight to the login page. HELPDESK_REDIRECT_TO_LOGIN_BY_DEFAULT = False -LOGIN_URL = '/login/' -LOGIN_REDIRECT_URL = '/login/' +LOGIN_URL = 'helpdesk:login' +LOGIN_REDIRECT_URL = 'helpdesk:home' # Database # - by default, we use SQLite3 for the demo, but you can also diff --git a/helpdesk/urls.py b/helpdesk/urls.py index 7bf9c4bb..da22b09a 100644 --- a/helpdesk/urls.py +++ b/helpdesk/urls.py @@ -215,10 +215,6 @@ urlpatterns += [ url(r'^login/$', login.login, name='login'), - - url(r'^accounts/login/$', - login.login, - name='login'), url(r'^logout/$', auth_views.LogoutView.as_view(