summaryrefslogtreecommitdiff
path: root/docs/topics/auth
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-01-01 08:12:42 -0500
committerTim Graham <timograham@gmail.com>2013-01-02 18:32:57 -0500
commit9b5f64cc6ed5f1e904093fe4e6ff0f681b8e545f (patch)
tree72ad5a2f583f54b1be591dd727905c3e97b06a70 /docs/topics/auth
parent3f890f8dc707eac30a72b7f79981d79e17ba0ff4 (diff)
Fixed #19516 - Fixed remaining broken links.
Added -n to sphinx builds to catch issues going forward.
Diffstat (limited to 'docs/topics/auth')
-rw-r--r--docs/topics/auth/passwords.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/topics/auth/passwords.txt b/docs/topics/auth/passwords.txt
index 0f44444416..76284ae72f 100644
--- a/docs/topics/auth/passwords.txt
+++ b/docs/topics/auth/passwords.txt
@@ -171,18 +171,18 @@ Manually managing a user's password
.. module:: django.contrib.auth.hashers
- The :mod:`django.contrib.auth.hashers` module provides a set of functions
- to create and validate hashed password. You can use them independently
- from the ``User`` model.
+The :mod:`django.contrib.auth.hashers` module provides a set of functions
+to create and validate hashed password. You can use them independently
+from the ``User`` model.
.. function:: check_password(password, encoded)
If you'd like to manually authenticate a user by comparing a plain-text
password to the hashed password in the database, use the convenience
- function :func:`django.contrib.auth.hashers.check_password`. It takes two
- arguments: the plain-text password to check, and the full value of a
- user's ``password`` field in the database to check against, and returns
- ``True`` if they match, ``False`` otherwise.
+ function :func:`check_password`. It takes two arguments: the plain-text
+ password to check, and the full value of a user's ``password`` field in the
+ database to check against, and returns ``True`` if they match, ``False``
+ otherwise.
.. function:: make_password(password[, salt, hashers])
@@ -195,9 +195,9 @@ Manually managing a user's password
``'unsalted_md5'`` (only for backward compatibility) and ``'crypt'``
if you have the ``crypt`` library installed. If the password argument is
``None``, an unusable password is returned (a one that will be never
- accepted by :func:`django.contrib.auth.hashers.check_password`).
+ accepted by :func:`check_password`).
.. function:: is_password_usable(encoded_password)
Checks if the given string is a hashed password that has a chance
- of being verified against :func:`django.contrib.auth.hashers.check_password`.
+ of being verified against :func:`check_password`.