Почти завершенная регистрация

This commit is contained in:
Антон
2025-08-30 07:40:53 +03:00
parent 07a9bbf9ff
commit eea5e42573
6 changed files with 84 additions and 23 deletions
+5
View File
@@ -33,6 +33,11 @@ void User::SetPassword(const string& password)
hashed_password_ = ToHex((byte*)&calculated_hash, sizeof(calculated_hash));
}
void User::SetHashedPassword(const std::string& hashed_password)
{
hashed_password_ = hashed_password;
}
const string& User::GetHashedPassword() const noexcept
{
return hashed_password_;