From 23354a75e49d80c78bc398d202eb015684f59e4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20NO=C3=8BL?= Date: Thu, 9 Jul 2020 01:07:54 +0200 Subject: [PATCH] debian: cancel hobo provisionning middleware --- debian/debian_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'))