Skip to content

Commit

Permalink
Enable session authentication middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
adelq committed Oct 7, 2016
1 parent 4eb5654 commit 95e4fd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
Expand Down

0 comments on commit 95e4fd6

Please sign in to comment.