summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiang Haiyun <jiang.haiyun@gmail.com>2016-07-04 23:02:11 +0800
committerSimon Charette <charette.s@gmail.com>2016-07-04 11:03:28 -0400
commitaa777cdaaa21b8fee17440b6e82f7c0e9f115dca (patch)
treedae05e35f96a122d7a61450330a32177ff98e60f
parent2847b22f296f4c1cbcb2abbbb0bceb81ad1bf8f4 (diff)
[1.10.x] Fixed a typo in auth docs.
Backport of 6d61ec0e1a4eb5768be5add9e1c44c89dacbfa7e from master
-rw-r--r--docs/topics/auth/passwords.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/auth/passwords.txt b/docs/topics/auth/passwords.txt
index f975862869..dc0e0e2945 100644
--- a/docs/topics/auth/passwords.txt
+++ b/docs/topics/auth/passwords.txt
@@ -146,7 +146,7 @@ algorithm.
that ``bcrypt(password_with_100_chars) == bcrypt(password_with_100_chars[:72])``.
The original ``BCryptPasswordHasher`` does not have any special handling and
thus is also subject to this hidden password length limit.
- ``BCryptSHA256PasswordHasher`` fixes this by first first hashing the
+ ``BCryptSHA256PasswordHasher`` fixes this by first hashing the
password using sha256. This prevents the password truncation and so should
be preferred over the ``BCryptPasswordHasher``. The practical ramification
of this truncation is pretty marginal as the average user does not have a