From b3280a86abe9c62cc119620b6b7a6cec769707ae Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 11 Apr 2024 16:38:57 +0100 Subject: [PATCH] Ensure users are redirected to the homepage on login --- helpdesk/helpdesk/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/helpdesk/helpdesk/settings.py b/helpdesk/helpdesk/settings.py index 8febbf9..8a96f77 100644 --- a/helpdesk/helpdesk/settings.py +++ b/helpdesk/helpdesk/settings.py @@ -194,6 +194,7 @@ # Authentication URLs LOGIN_URL = f"/{BASE_PATH}auth/login/" LOGOUT_REDIRECT_URL = LOGIN_URL +LOGIN_REDIRECT_URL = BASE_PATH # Default primary key field type # https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field