summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNick Sweeting <git@nicksweeting.com>2015-07-08 12:06:04 -0700
committerTim Graham <timograham@gmail.com>2015-07-10 08:41:18 -0400
commit2733c32ba9bfddf0554a437b611fb26abbaad714 (patch)
treee008c7384bf37416f11532a2987f4ae2201df67f /docs
parentebcfedb0e541a4840c375375ab41fc513f322b7d (diff)
[1.8.x] Fixed #25083 -- Added SessionAuthenticationMiddleware to auth installation docs
Backport of f0857c09fb51b21afb3e55da53bce962466af6d3 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth/index.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/topics/auth/index.txt b/docs/topics/auth/index.txt
index bdf5b79be4..b67bd2fd75 100644
--- a/docs/topics/auth/index.txt
+++ b/docs/topics/auth/index.txt
@@ -60,12 +60,14 @@ startproject <startproject>`, these consist of two items listed in your
</ref/contrib/contenttypes>`, which allows permissions to be associated with
models you create.
-and two items in your :setting:`MIDDLEWARE_CLASSES` setting:
+and these items in your :setting:`MIDDLEWARE_CLASSES` setting:
1. :class:`~django.contrib.sessions.middleware.SessionMiddleware` manages
:doc:`sessions </topics/http/sessions>` across requests.
2. :class:`~django.contrib.auth.middleware.AuthenticationMiddleware` associates
users with requests using sessions.
+3. :class:`~django.contrib.auth.middleware.SessionAuthenticationMiddleware`
+ logs users out of their other sessions after a password change.
With these settings in place, running the command ``manage.py migrate`` creates
the necessary database tables for auth related models and permissions for any