mirror of
https://github.com/Hopiu/django.git
synced 2026-05-16 19:41:06 +00:00
Fixed #29141 -- Corrected BCryptPasswordHasher's docstring about truncation.
This commit is contained in:
parent
074a2f7f58
commit
56a302f338
1 changed files with 2 additions and 4 deletions
|
|
@ -456,10 +456,8 @@ class BCryptPasswordHasher(BCryptSHA256PasswordHasher):
|
|||
issues.
|
||||
|
||||
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 BCryptSHA256PasswordHasher.
|
||||
|
||||
See: https://code.djangoproject.com/ticket/20138
|
||||
bcrypt's 72 bytes password truncation. Most use cases should prefer the
|
||||
BCryptSHA256PasswordHasher.
|
||||
"""
|
||||
algorithm = "bcrypt"
|
||||
digest = None
|
||||
|
|
|
|||
Loading…
Reference in a new issue