From 6011d3a156af643b16c6d5deed584086de83fc96 Mon Sep 17 00:00:00 2001 From: Matt Robenolt Date: Sat, 9 Jan 2016 02:11:25 -0800 Subject: [PATCH] [1.8.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 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 """