Skip to content

Commit

Permalink
Fix static check error
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusTXK committed Dec 29, 2023
1 parent 10ddc4d commit f66510e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/crypto/password.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func GenerateFromPassword(ctx context.Context, password string) (string, error)
var hashCost int

if len(password) > MaxPasswordLength {
return "", fmt.Errorf("Password cannot be longer than %d characters", MaxPasswordLength)
return "", fmt.Errorf("password cannot be longer than %d characters", MaxPasswordLength)
}

switch PasswordHashCost {
Expand Down

0 comments on commit f66510e

Please sign in to comment.