diff --git a/pyi2phosts/settings.py b/pyi2phosts/settings.py index 3e57eb7..4f1d4fd 100644 --- a/pyi2phosts/settings.py +++ b/pyi2phosts/settings.py @@ -95,6 +95,7 @@ MIDDLEWARE_CLASSES = ( 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', + 'django.contrib.auth.middleware.SessionAuthenticationMiddleware' ) ROOT_URLCONF = 'pyi2phosts.urls'