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:
@ -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 ?
|
||||
|
Reference in New Issue
Block a user