Browse Source

Fixed a typo in BCryptPasswordHasher docstring

There is no BCryptSHA512PasswordHasher.
Matt Robenolt 9 năm trước cách đây
mục cha
commit
8048411c97
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      django/contrib/auth/hashers.py

+ 1 - 1
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
     """