Skip to content

Commit dd5e20a

Browse files
abhi1693jeremystretch
authored andcommitted
allow login and logout in maintenance mode #14166
1 parent 217a9ed commit dd5e20a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

netbox/netbox/settings.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,9 @@ def _setting(name, default=None):
502502
MAINTENANCE_EXEMPT_PATHS = (
503503
f'/{BASE_PATH}admin/',
504504
f'/{BASE_PATH}extras/config-revisions/', # Allow modifying the configuration
505+
LOGIN_URL,
506+
LOGIN_REDIRECT_URL,
507+
LOGOUT_REDIRECT_URL
505508
)
506509

507510
SERIALIZATION_MODULES = {

0 commit comments

Comments
 (0)