瀏覽代碼

Fixed a typo in BCryptPasswordHasher docstring

There is no BCryptSHA512PasswordHasher.
Matt Robenolt 9 年之前
父節點
當前提交
8048411c97
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
     """