Remove complile switch
This commit is contained in:
parent
8bdaef5cf8
commit
6a88dbf55d
|
|
@ -156,12 +156,10 @@ public class UserService : IUserService
|
|||
return default;
|
||||
}
|
||||
|
||||
#if !DEBUG
|
||||
if (!isAuthenticatedByHook && Utilities.HashTextMd5($"{password}{record.Salt}") != record.Password)
|
||||
{
|
||||
return default;
|
||||
}
|
||||
#endif
|
||||
|
||||
var accessToken = GenerateJwtToken(record);
|
||||
var jwt = new JwtSecurityTokenHandler().ReadJwtToken(accessToken);
|
||||
|
|
|
|||
Loading…
Reference in a new issue