mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-13 00:28:10 -05:00
fix token auth issue
This commit is contained in:
@ -41,8 +41,7 @@ namespace WebfrontCore.Controllers
|
||||
{
|
||||
loginSuccess = Manager.TokenAuthenticator.AuthorizeToken(new TokenIdentifier
|
||||
{
|
||||
NetworkId = privilegedClient.NetworkId,
|
||||
Game = privilegedClient.GameName,
|
||||
ClientId = clientId,
|
||||
Token = password
|
||||
}) ||
|
||||
(await Task.FromResult(Hashing.Hash(password, privilegedClient.PasswordSalt)))[0] ==
|
||||
|
Reference in New Issue
Block a user