Skip to content

Commit

Permalink
Update validation.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
u2024 authored Apr 2, 2024
1 parent 2cea22c commit cb2a6df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homework/password-check/validation.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once

#include <string>
enum ErrorCode
{
Ok,
Expand All @@ -9,7 +9,7 @@ enum ErrorCode
PasswordNeedsAtLeastOneUppercaseLetter,
PasswordsDoNotMatch,
};
std::string getErrorMessage(ErrorCode result);
string getErrorMessage(ErrorCode result);
bool doPasswordsMatch(std::string password_1, std::string password_2);
ErrorCode checkPasswordRules(std::string password);
ErrorCode checkPassword(std::string password_1, std::string password_2);

0 comments on commit cb2a6df

Please sign in to comment.