1
0
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:
RaidMax
2022-06-16 10:07:03 -05:00
parent fbf5c20601
commit 45011d9ff9
15 changed files with 29 additions and 43 deletions

View File

@ -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] ==