Skip to content

Commit

Permalink
allow login and logout in maintenance mode #14166
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi1693 authored and jeremystretch committed Nov 9, 2023
1 parent 217a9ed commit dd5e20a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions netbox/netbox/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit dd5e20a

Please sign in to comment.