Pārlūkot izejas kodu

Fixed a typo in BCryptPasswordHasher docstring

There is no BCryptSHA512PasswordHasher.
Matt Robenolt 9 gadi atpakaļ
vecāks
revīzija
8048411c97
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
     """