1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #34565 -- Added support for async checking of user passwords.

This commit is contained in:
HappyDingning
2023-05-15 00:12:22 +08:00
committed by Mariusz Felisiak
parent 4e73d8c04d
commit 674c23999c
8 changed files with 98 additions and 8 deletions

View File

@@ -153,6 +153,10 @@ Minor features
* ``AuthenticationMiddleware`` now adds an :meth:`.HttpRequest.auser`
asynchronous method that returns the currently logged-in user.
* The new :func:`django.contrib.auth.hashers.acheck_password` asynchronous
function and :meth:`.AbstractBaseUser.acheck_password` method allow
asynchronous checking of user passwords.
:mod:`django.contrib.contenttypes`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~