From ef24bea5629305adf4af015a17eb7b551d8a0698 Mon Sep 17 00:00:00 2001 From: Adarnof Date: Thu, 22 Feb 2018 13:31:50 -0500 Subject: [PATCH] Put missing logout redirect setting back. Not sure what I did with it. --- allianceauth/project_template/project_name/settings/base.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/allianceauth/project_template/project_name/settings/base.py b/allianceauth/project_template/project_name/settings/base.py index 6fd5bdea..73a841f4 100644 --- a/allianceauth/project_template/project_name/settings/base.py +++ b/allianceauth/project_template/project_name/settings/base.py @@ -178,8 +178,10 @@ DATABASES = { SITE_NAME = 'Alliance Auth' -LOGIN_URL = 'auth_login_user' # default destination when logging in if no redirect specified -LOGIN_REDIRECT_URL = 'authentication:dashboard' # destination after logging out +LOGIN_URL = 'auth_login_user' # view that handles login logic + +LOGIN_REDIRECT_URL = 'authentication:dashboard' # default destination when logging in if no redirect specified +LOGOUT_REDIRECT_URL = 'authentication:dashboard' # destination after logging out # Both of these redirects accept values as per the django redirect shortcut # https://docs.djangoproject.com/en/1.11/topics/http/shortcuts/#redirect # - url names eg 'authentication:dashboard'