1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

enhancement for issue #63

This commit is contained in:
RaidMax
2019-02-17 18:48:40 -06:00
parent c23054ea6b
commit ea40f17f7b
6 changed files with 41 additions and 15 deletions

View File

@ -5,7 +5,6 @@ using SharedLibraryCore.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharedLibraryCore.Services
@ -33,6 +32,7 @@ namespace SharedLibraryCore.Services
};
break;
case GameEvent.EventType.Command:
// this prevents passwords/tokens being logged into the database in plain text
if (e.Extra is Command cmd)
{
if (cmd.Name == "login" || cmd.Name == "setpassword")