fix issue with set password

This commit is contained in:
RaidMax 2022-08-20 10:42:34 -05:00
parent 3efafa24ff
commit cf4dd6a868

View File

@ -286,7 +286,10 @@ namespace SharedLibraryCore.Services
entity.PasswordSalt = temporalClient.PasswordSalt;
}
entity.GameName = temporalClient.GameName;
if (entity.GameName == Reference.Game.UKN)
{
entity.GameName = temporalClient.GameName;
}
// update in database
await context.SaveChangesAsync();