mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-23 07:56:44 -06:00
allow login and logout in maintenance mode #14166
This commit is contained in:
parent
57bf2a2f00
commit
0168ef0da0
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user