-
Notifications
You must be signed in to change notification settings - Fork 27
Wrong error message for PasswordTooLong error #724
Copy link
Copy link
Closed
Description
Reported in: torrust/torrust-index-gui#613
pub enum ServiceError {
#[display(fmt = "internal server error")]
InternalServerError,
// ...
#[display(fmt = "Password too short")]
PasswordTooShort,
#[display(fmt = "Username too long")]
PasswordTooLong,
#[display(fmt = "Passwords don't match")]
PasswordsDontMatch,
// ...It should be:
pub enum ServiceError {
#[display(fmt = "internal server error")]
InternalServerError,
// ...
#[display(fmt = "Password too short")]
PasswordTooShort,
#[display(fmt = "Password too long")]
PasswordTooLong,
#[display(fmt = "Passwords don't match")]
PasswordsDontMatch,
// ...Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugIncorrect BehaviorIncorrect Behavior