Kaydet (Commit) 56a302f3 authored tarafından Tim Graham's avatar Tim Graham

Fixed #29141 -- Corrected BCryptPasswordHasher's docstring about truncation.

üst 074a2f7f
...@@ -456,10 +456,8 @@ class BCryptPasswordHasher(BCryptSHA256PasswordHasher): ...@@ -456,10 +456,8 @@ class BCryptPasswordHasher(BCryptSHA256PasswordHasher):
issues. issues.
This hasher does not first hash the password which means it is subject to 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 bcrypt's 72 bytes password truncation. Most use cases should prefer the
the BCryptSHA256PasswordHasher. BCryptSHA256PasswordHasher.
See: https://code.djangoproject.com/ticket/20138
""" """
algorithm = "bcrypt" algorithm = "bcrypt"
digest = None digest = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment