summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/auth.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt
index 90ae5904a8..61fd74a38f 100644
--- a/docs/ref/contrib/auth.txt
+++ b/docs/ref/contrib/auth.txt
@@ -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