allow login and logout in maintenance mode #14166
This commit is contained in:

committed by
Jeremy Stretch

parent
217a9edb4c
commit
dd5e20aa1a
@@ -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 = {
|
||||||
|
Reference in New Issue
Block a user