Remove SessionAuthenticationMiddleware from INSTALLED_APPS

It is always on now, and this is just a deprecated stub which will be
removed in Django 2.0.
This commit is contained in:
bmedx
2018-06-06 10:47:57 -04:00
parent 1a4ef62f15
commit 2ca632aec9
3 changed files with 2 additions and 12 deletions

View File

@@ -491,9 +491,6 @@ MIDDLEWARE_CLASSES = [
# Instead of AuthenticationMiddleware, we use a cache-backed version
'openedx.core.djangoapps.cache_toolbox.middleware.CacheBackedAuthenticationMiddleware',
# Enable SessionAuthenticationMiddleware in order to invalidate
# user sessions after a password change.
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'student.middleware.UserStandingMiddleware',
'openedx.core.djangoapps.contentserver.middleware.StaticContentServer',