From dd5e20aa1ad1ec46efeeabc5de71d4bba8e07037 Mon Sep 17 00:00:00 2001 From: Abhimanyu Saharan Date: Thu, 9 Nov 2023 23:51:43 +0530 Subject: [PATCH] allow login and logout in maintenance mode #14166 --- netbox/netbox/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/netbox/netbox/settings.py b/netbox/netbox/settings.py index 111781b8a3..e3c716a166 100644 --- a/netbox/netbox/settings.py +++ b/netbox/netbox/settings.py @@ -502,6 +502,9 @@ def _setting(name, default=None): MAINTENANCE_EXEMPT_PATHS = ( f'/{BASE_PATH}admin/', f'/{BASE_PATH}extras/config-revisions/', # Allow modifying the configuration + LOGIN_URL, + LOGIN_REDIRECT_URL, + LOGOUT_REDIRECT_URL ) SERIALIZATION_MODULES = {