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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user