debian: cancel mellon MIDDLEWARE

This commit is contained in:
Thomas NOËL 2020-03-21 20:38:06 +01:00
parent b4e7f50e16
commit 42ec361915
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ REST_FRAMEWORK = {
# no mellon/SAML sessionNotOnOrAfter session expiration
SESSION_ENGINE = global_settings.SESSION_ENGINE
# remove mellon middleware
MIDDLEWARE = tuple(mw for mw in MIDDLEWARE if not mw.startswith('mellon.'))
if 'MIDDLEWARE_CLASSES' in globals():
MIDDLEWARE_CLASSES = tuple(m for m in MIDDLEWARE_CLASSES if not m.startswith('mellon.'))
# remove mellon settings_loader