mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #34565 -- Added support for async checking of user passwords.
This commit is contained in:
parent
4e73d8c04d
commit
674c23999c
8 changed files with 98 additions and 8 deletions
|
@ -166,11 +166,18 @@ Methods
|
|||
were used.
|
||||
|
||||
.. method:: check_password(raw_password)
|
||||
.. method:: acheck_password(raw_password)
|
||||
|
||||
*Asynchronous version*: ``acheck_password()``
|
||||
|
||||
Returns ``True`` if the given raw string is the correct password for
|
||||
the user. (This takes care of the password hashing in making the
|
||||
comparison.)
|
||||
|
||||
.. versionchanged:: 5.0
|
||||
|
||||
``acheck_password()`` method was added.
|
||||
|
||||
.. method:: set_unusable_password()
|
||||
|
||||
Marks the user as having no password set. This isn't the same as
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue