From 5444a47b1a7d70b2bb6fbd9083d01438af769b68 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 11 Apr 2024 16:56:58 +0100 Subject: [PATCH] Fix base path on login redirect --- 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 8a96f77..d8e4b09 100644 --- a/helpdesk/helpdesk/settings.py +++ b/helpdesk/helpdesk/settings.py @@ -194,7 +194,7 @@ # Authentication URLs LOGIN_URL = f"/{BASE_PATH}auth/login/" LOGOUT_REDIRECT_URL = LOGIN_URL -LOGIN_REDIRECT_URL = BASE_PATH +LOGIN_REDIRECT_URL = f"/{BASE_PATH}" # Default primary key field type # https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field