Преглед на файлове

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