1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

allow login and logout in maintenance mode #14166

This commit is contained in:
Abhimanyu Saharan
2023-11-09 23:51:43 +05:30
committed by Jeremy Stretch
parent 217a9edb4c
commit dd5e20aa1a

View File

@ -502,6 +502,9 @@ AUTH_EXEMPT_PATHS = (
MAINTENANCE_EXEMPT_PATHS = ( MAINTENANCE_EXEMPT_PATHS = (
f'/{BASE_PATH}admin/', f'/{BASE_PATH}admin/',
f'/{BASE_PATH}extras/config-revisions/', # Allow modifying the configuration f'/{BASE_PATH}extras/config-revisions/', # Allow modifying the configuration
LOGIN_URL,
LOGIN_REDIRECT_URL,
LOGOUT_REDIRECT_URL
) )
SERIALIZATION_MODULES = { SERIALIZATION_MODULES = {