1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-26 07:00:24 -05:00

fix gravatars not showing

fix web config not saving Uri
fix issue with token login
This commit is contained in:
RaidMax
2019-04-14 10:55:05 -05:00
parent 832bc941ec
commit 7c309ee460
21 changed files with 187 additions and 128 deletions

View File

@ -24,12 +24,12 @@ namespace IW4MAdmin.Plugins.Login.Commands
if (!success)
{
string[] hashedPassword = await Task.FromResult(SharedLibraryCore.Helpers.Hashing.Hash(E.Data, client.PasswordSalt));
success = hashedPassword[0] == client.Password;
}
if (hashedPassword[0] == client.Password)
{
success = true;
Plugin.AuthorizedClients[E.Origin.ClientId] = true;
}
if (success)
{
Plugin.AuthorizedClients[E.Origin.ClientId] = true;
}
_ = success ?