fix ref error

This commit is contained in:
Jicheng Lu 2024-06-26 16:47:59 -05:00
parent 004cd291e6
commit 18f0ba36ac

View file

@ -147,7 +147,7 @@ public class UserService : IUserService
}
#if !DEBUG
if (!isAuthenticatedByHook && Utilities.HashText(password, record.Salt) != record.Password)
if (!isAuthenticatedByHook && Utilities.HashTextMd5($"{password}{record.Salt}") != record.Password)
{
return default;
}