Рабочая сборка второго executor'а

This commit is contained in:
Антон
2025-09-20 11:56:36 +03:00
parent b6ddf88a61
commit 0850286c63
@@ -99,20 +99,5 @@ public:
return res; return res;
} }
} }
private:
bool ValidateLogin(const std::string& login)
{
if (login.size() < 3 || login.size() > 50) return false;
std::regex pattern(std::string("^[A-Za-z0-9_]+$"));
return std::regex_match(login, pattern);
}
bool ValidatePassword(const std::string& password)
{
return password.size() >= 5;
}
}; };
} }