summaryrefslogtreecommitdiff
path: root/django/contrib/auth/middleware.py
AgeCommit message (Expand)Author
2026-01-31Refs #34118 -- Removed asgiref coroutine detection shims.Jacob Walls
2025-09-17Refs #36390 -- Removed support for RemoteUserMiddleware subclasses missing ap...Jacob Walls
2025-09-11Fixed #36603 -- Optimized check order in LoginRequiredMiddleware.Adam Johnson
2025-07-23Removed double spaces after periods and within phrases.Sarah Boyce
2025-05-23Fixed #36390 -- Deprecated RemoteUserMiddleware subclasses missing aprocess_r...Sarah Boyce
2024-12-18Fixed #36002 -- Referred to request.Meta key in Persistent/RemoteUserMiddlewa...Anders Einar Hilden
2024-10-07Fixed #35303 -- Implemented async auth backends and utils.Jon Janzen
2024-05-29Fixed 35467 -- Replaced urlparse with urlsplit where appropriate.Jake Howard
2024-05-22Fixed #31405 -- Added LoginRequiredMiddleware.Hisham Mahmood
2023-06-27Fixed #34391 -- Added async-compatible interface to auth functions and relate...Jon Janzen
2023-03-07Fixed #31920 -- Made AuthenticationMiddleware add request.auser().Jon Janzen
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-07-29Fixed 32956 -- Lowercased spelling of "web" and "web framework" where appropr...David Smith
2021-03-11Refs #32508 -- Raised ImproperlyConfigured instead of using "assert" in middl...Hasan Ramezani
2019-11-13Fixed #30941 -- Reverted "Simplified AuthenticationMiddleware a bit."Mariusz Felisiak
2019-10-29Simplified AuthenticationMiddleware a bit.Sergey Fedoseev
2019-10-23Refs #26601 -- Removed obsolete workarounds for MIDDLEWARE_CLASSES setting.Sergey Fedoseev
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-02-04Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.Anton Samarchyan
2017-01-17Refs #23957 -- Removed the useless SessionAuthenticationMiddleware.Tim Graham
2016-09-12Fixed #25187 -- Made request available in authentication backends.Aleksej Manaev
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
2016-04-09Fixed #25847 -- Made User.is_(anonymous|authenticated) properties.Jeremy Lainé
2015-09-23Refs #23957 -- Required session verification per deprecation timeline.Tim Graham
2015-07-02Fixed #25029 -- Added PersistentRemoteUserMiddleware for login-page-only exte...Jan Pazdziora
2014-12-03Fixed #23939 -- Moved session verification out of SessionAuthenticationMiddle...Tim Graham
2014-08-20Fixed #23066 -- Modified RemoteUserMiddleware to logout on REMOTE_USER change.Preston Holmes
2014-04-05Fixed #21649 -- Added optional invalidation of sessions when user password ch...Tim Graham
2014-03-31Fixed #22362 -- Improved AuthenticationMiddleware assertion message.Tim Graham
2014-02-08Fixed #21674 -- Deprecated the import_by_path() function in favor of import_s...Berker Peksag
2013-09-06Fixed a number of flake8 errors -- particularly around unused imports and loc...Alex Gaynor
2012-10-29Fixed #17869 - force logout when REMOTE_USER header disappearsPreston Holmes
2012-10-13Fixed #19077, #19079 -- Made USERNAME_FIELD a required field, and modified Us...Russell Keith-Magee
2011-06-06Removed an unnecessary importLuke Plant
2011-05-31Cleaned up how ``request.user`` is set, this is a follow up to [16297]. Thank...Alex Gaynor
2011-05-30Fixed #15929 - test.client.RequestFactory keeps state/AuthMiddleware does mon...Luke Plant
2010-10-09Fixed #11509 -- Modified usage of "Web" to match our style guide in various d...Russell Keith-Magee
2009-03-15Fixed #689 -- Added a middleware and authentication backend to contrib.auth f...Gary Wilson Jr
2006-09-12Fixed #2702 -- Fixed LazyUser to store cache as attribute of request, not cla...Adrian Holovaty
2006-06-28Merged multi-auth branch to trunk. See the authentication docs for the ramif...Jacob Kaplan-Moss
2006-06-08Fixed #2109 -- Convert old-style classes to new-style classes throughout Djan...Adrian Holovaty
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompa...Adrian Holovaty