Skip to content

Commit

Permalink
fix: [#613] wrong error message for password too long error
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Sep 6, 2024
1 parent bcce077 commit 2e67cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub enum ServiceError {

#[display(fmt = "Password too short")]
PasswordTooShort,
#[display(fmt = "Username too long")]
#[display(fmt = "Password too long")]
PasswordTooLong,
#[display(fmt = "Passwords don't match")]
PasswordsDontMatch,
Expand Down

0 comments on commit 2e67cc1

Please sign in to comment.