We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81c2d41 commit 6a4de21Copy full SHA for 6a4de21
pkg/crypto/passwords.go
@@ -14,7 +14,7 @@ var (
14
func MakeBCryptHash(password string) (string, error) {
15
hash, err := bcrypt.GenerateFromPassword([]byte(password), bcrypt.DefaultCost)
16
if err != nil {
17
- return "", fmt.Errorf("can't hash password: %w", err)
+ return "", fmt.Errorf("failed to hash password: %w", err)
18
}
19
return string(hash), nil
20
0 commit comments