summaryrefslogtreecommitdiff
path: root/django/contrib/auth/backends.py
AgeCommit message (Expand)Author
2026-04-27Fixed #36901 -- Centralized auth timing attack mitigations.afenoum
2026-04-24Fixed #36542 -- Marked authenticate() with @sensitive_variables() decorator.KANIN KEARPIMY
2025-07-23Removed double spaces after periods and within phrases.Sarah Boyce
2024-10-09Fixed #35792 -- Simplified ModelBackend._get_group_permissions().Bona Fide IT GmbH
2024-10-07Fixed #35303 -- Implemented async auth backends and utils.Jon Janzen
2023-01-17Refs #33561 -- Made created=True required in signature of RemoteUserBackend.c...Mariusz Felisiak
2022-07-11Refs #25232 -- Simplified ModelBackend.user_can_authenticate().Tim Graham
2022-03-10Fixed #33561 -- Allowed synchronization of user attributes in RemoteUserBackend.Adrian Torres
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-08-09Removed redundant definition of UserModel in ModelBackend.with_perm().Premkumar Chalmeti
2019-09-10Refs #30037 -- Required the RemoteUserBackend.configure_user() to have reques...Mariusz Felisiak
2019-08-29Fixed #18763 -- Added ModelBackend/UserManager.with_perm() methods.Berker Peksag
2019-06-10Fixed #30556 -- Avoided useless query and hasher call in ModelBackend.authent...Aymeric Augustin
2019-06-05Refs #30226 -- Added User.get_user_permissions() method.Tobias Bengfort
2019-06-05Fixed #30226 -- Added BaseBackend for authentication.Tobias Bengfort
2019-01-09Fixed #30037 -- Added request arg to RemoteUserBackend.configure_user().Joshua Cannon
2018-01-03Fixed #28982 -- Simplified code with and/or.Дилян Палаузов
2017-12-26Fixed #28930 -- Simplified code with any() and all().Дилян Палаузов
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-10-14Fixed #28713 -- Prevented ModelBackend.get_all_permissions() from mutating ge...Yuri Kaszubowski Lopes
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-02-04Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.Anton Samarchyan
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-25Fixed #25966 -- Made get_user_model() work at import time.Aymeric Augustin
2016-09-12Fixed #25187 -- Made request available in authentication backends.Aleksej Manaev
2016-04-09Fixed #25847 -- Made User.is_(anonymous|authenticated) properties.Jeremy Lainé
2016-03-23Fixed #25232 -- Made ModelBackend/RemoteUserBackend reject inactive users.Alexander Gaevsky
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-06-24Restored is_anonymous() check in ModelBackend permission checking removed in ...Tim Graham
2014-06-23Fixed #17903 -- Modified ModelBackend to eliminate permissions on inactive us...Jorge C. Leitão
2014-06-13Fixed #7599 -- Added get_user_permissions to ModelBackend.Jorge C. Leitão
2014-05-19Fixed #22652 -- Replaced UserModel.objects with UserModel._default_manager.Tim Graham
2013-11-14Propagate get_user_model exception from get_userMatt Robenolt
2013-08-30Fixed #20989 -- Removed useless explicit list comprehensions.Simon Charette
2013-07-23Fixed #20760 -- Reduced timing variation in ModelBackend.Aymeric Augustin
2013-07-04Fixed #20673 -- Clarified that HttpRequest.user uses AUTH_USER_MODEL.Tim Graham
2013-02-07Fixed #19662 -- alter auth modelbackend to accept custom username fieldsPreston Holmes
2013-01-22Fixed #19596 -- Use `_default_manager` instead of `objects` in the auth app.Florian Apolloner
2012-10-13Fixed #19077, #19079 -- Made USERNAME_FIELD a required field, and modified Us...Russell Keith-Magee
2012-10-06Fixed #19060 -- Corrected assumptions about the name of the User model in the...Russell Keith-Magee
2012-09-26Fixed #3011 -- Added swappable auth.User models.Russell Keith-Magee
2012-06-07Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz
2012-04-26Fixed #18038 -- Removed the 'supports_inactive_user' backwards-compatibility ...Claude Paroz
2011-09-10Removed the deprecated-since-1.2 "supports_object_permissions" and "supports_...Alex Gaynor
2011-07-13Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for t...Jannis Leidel
2010-12-21Fixed #14249 -- Added support for inactive users to the auth backend system. ...Jannis Leidel
2010-12-04Fixed #14795 -- Ensure that get_all_permissions() returns the right result (i...Russell Keith-Magee
2010-05-04Fixed #12164 -- Removed the Python 2.3 compatibility imports and workarounds....Russell Keith-Magee