Skip to content

Commit

Permalink
Update validation.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
VeniGogniti authored Jul 7, 2024
1 parent 9698eb1 commit 219a400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homework/password-check/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ std::string getErrorMessage(ErrorCode code) {
return "Password needs to have at least one special character";
case ErrorCode::PasswordNeedsAtLeastOneUppercaseLetter:
return "Password needs to have at least one uppercase letter";

case ErrorCode::PasswordsDoNotMatch:
return "Passwords do not match";
default: return "Error";
}
Expand Down

0 comments on commit 219a400

Please sign in to comment.