From acaec7ecc872598eb8495ad0769024703167f698 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 27 Apr 2020 16:52:22 +0200 Subject: [PATCH 1/2] misc: use MIDDLEWARE in authentic2 settings (#42149) --- roles/app-setup/templates/authentic-settings.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git roles/app-setup/templates/authentic-settings.j2 roles/app-setup/templates/authentic-settings.j2 index 0fc50a8..3593290 100644 --- roles/app-setup/templates/authentic-settings.j2 +++ roles/app-setup/templates/authentic-settings.j2 @@ -4,7 +4,7 @@ from django.utils.translation import ugettext_lazy as _ # Add the XForwardedForMiddleware -MIDDLEWARE_CLASSES = ('authentic2.middleware.XForwardedForMiddleware',) + MIDDLEWARE_CLASSES +MIDDLEWARE = ('authentic2.middleware.XForwardedForMiddleware',) + MIDDLEWARE # Add authentic settings loader TENANT_SETTINGS_LOADERS = ('hobo.multitenant.settings_loaders.Authentic',) + TENANT_SETTINGS_LOADERS -- 2.26.0