From f7ef27a3e81c0d147e49a66cd799c80dcbe3f7ce Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 4 Apr 2024 22:19:12 +0100 Subject: [PATCH] Just send people to the login page on logout --- helpdesk/helpdesk/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/helpdesk/settings.py b/helpdesk/helpdesk/settings.py index 312892a..085e9d2 100644 --- a/helpdesk/helpdesk/settings.py +++ b/helpdesk/helpdesk/settings.py @@ -193,7 +193,7 @@ # Authentication URLs LOGIN_URL = f"/{BASE_PATH}auth/login/" -LOGOUT_REDIRECT_URL = BASE_PATH +LOGOUT_REDIRECT_URL = LOGIN_URL # Default primary key field type # https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field