summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Robenolt <matt@ydekproductions.com>2016-01-09 02:11:25 -0800
committerTim Graham <timograham@gmail.com>2016-01-09 13:35:06 -0500
commit6011d3a156af643b16c6d5deed584086de83fc96 (patch)
treeb6427674c7a6dfe6cb872717dc6220377a722f2c
parentcaeacd94ddc7fa8e7e408ad252cfff4601d502c4 (diff)
[1.8.x] Fixed a typo in BCryptPasswordHasher docstring
There is no BCryptSHA512PasswordHasher. Backport of 8048411c97559afd4bca28fbeaabafc2df05bcae from master
-rw-r--r--django/contrib/auth/hashers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/hashers.py b/django/contrib/auth/hashers.py
index f7f143b78f..a8583f7dbd 100644
--- a/django/contrib/auth/hashers.py
+++ b/django/contrib/auth/hashers.py
@@ -349,7 +349,7 @@ class BCryptPasswordHasher(BCryptSHA256PasswordHasher):
This hasher does not first hash the password which means it is subject to
the 72 character bcrypt password truncation, most use cases should prefer
- the BCryptSha512PasswordHasher.
+ the BCryptSHA256PasswordHasher.
See: https://code.djangoproject.com/ticket/20138
"""