From c7a73f3929cb0c5bdf7c10882ff006bab026817e Mon Sep 17 00:00:00 2001 From: Matt Robenolt Date: Sat, 9 Jan 2016 02:11:25 -0800 Subject: [PATCH] [1.9.x] Fixed a typo in BCryptPasswordHasher docstring There is no BCryptSHA512PasswordHasher. Backport of 8048411c97559afd4bca28fbeaabafc2df05bcae from master --- django/contrib/auth/hashers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/auth/hashers.py b/django/contrib/auth/hashers.py index 0188f4a4e7..93d4598cce 100644 --- a/django/contrib/auth/hashers.py +++ b/django/contrib/auth/hashers.py @@ -353,7 +353,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 """