Skip to content

Commit

Permalink
docs: improve text around bcrypt (#2037)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitar committed Dec 8, 2021
1 parent 80e53eb commit ba6981e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/docs/concepts/credentials/username-email-password.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ hashers:
:::warning
Due to the way BCrypt is implemented in Golang, passwords will be truncated
after 72 characters before being hashed. This implies that all characters in the
password after position 72 will be ignored!
BCrypt has a maximum length of 72 bytes for passwords. If a longer password
is attempted to be used, an error will be returned to the user.
:::
Expand Down

0 comments on commit ba6981e

Please sign in to comment.