mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fixed #17869 - force logout when REMOTE_USER header disappears
If the current sessions user was logged in via a remote user backend log out the user if REMOTE_USER header not available - otherwise leave it to other auth middleware to install the AnonymousUser. Thanks to Sylvain Bouchard for the initial patch and ticket maintenance.
This commit is contained in:
parent
2b5f848207
commit
9741912a9a
3 changed files with 40 additions and 5 deletions
|
@ -296,6 +296,9 @@ Django 1.5 also includes several smaller improvements worth noting:
|
|||
you to test equality for XML content at a semantic level, without caring for
|
||||
syntax differences (spaces, attribute order, etc.).
|
||||
|
||||
* RemoteUserMiddleware now forces logout when the REMOTE_USER header
|
||||
disappears during the same browser session.
|
||||
|
||||
Backwards incompatible changes in 1.5
|
||||
=====================================
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue