debian: cancel hobo provisionning middleware

This commit is contained in:
Thomas NOËL 2020-07-09 01:07:54 +02:00
parent 6e48d37985
commit 23354a75e4
1 changed files with 2 additions and 2 deletions

View File

@ -26,9 +26,9 @@ 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.'))
MIDDLEWARE = tuple(mw for mw in MIDDLEWARE if not mw.startswith('mellon.') and not mw.startswith('hobo.provisionning.middleware.'))
if 'MIDDLEWARE_CLASSES' in globals():
MIDDLEWARE_CLASSES = tuple(m for m in MIDDLEWARE_CLASSES if not m.startswith('mellon.'))
MIDDLEWARE_CLASSES = tuple(m for m in MIDDLEWARE_CLASSES if not m.startswith('mellon.') and not mw.startswith('hobo.provisionning.middleware.'))
# remove mellon settings_loader
TENANT_SETTINGS_LOADERS = tuple(tsl for tsl in TENANT_SETTINGS_LOADERS if not tsl.endswith('.Mellon'))