generated from Sithas/conan_template
DAO - Полное завершение класса
This commit is contained in:
@@ -31,7 +31,7 @@ bool MemoryAuthDAO::Logout(const std::string& auth_token)
|
||||
{
|
||||
string user_uuid = auth_tokens_to_users_uuids_[auth_token];
|
||||
|
||||
if (!HasAuthorizedUser()) return false;
|
||||
if (!HasAuthorized(auth_token)) return false;
|
||||
|
||||
users_uuids_to_auth_tokens_.erase(user_uuid);
|
||||
auth_tokens_to_users_uuids_.erase(auth_token);
|
||||
|
||||
Reference in New Issue
Block a user