diff --git a/debian/debian_config.py b/debian/debian_config.py index 3798492..40087a2 100644 --- a/debian/debian_config.py +++ b/debian/debian_config.py @@ -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'))