Projet

Général

Profil

0001-misc-use-MIDDLEWARE-in-authentic2-settings-42149.patch

Benjamin Dauvergne, 27 avril 2020 16:56

Télécharger (1017 octets)

Voir les différences:

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(-)
roles/app-setup/templates/authentic-settings.j2
4 4
from django.utils.translation import ugettext_lazy as _
5 5

  
6 6
# Add the XForwardedForMiddleware
7
MIDDLEWARE_CLASSES = ('authentic2.middleware.XForwardedForMiddleware',) + MIDDLEWARE_CLASSES
7
MIDDLEWARE = ('authentic2.middleware.XForwardedForMiddleware',) + MIDDLEWARE
8 8

  
9 9
# Add authentic settings loader
10 10
TENANT_SETTINGS_LOADERS = ('hobo.multitenant.settings_loaders.Authentic',) + TENANT_SETTINGS_LOADERS
11
-