Merge pull request #1076 from JackJiang1234/master

fix new user login error
This commit is contained in:
易磊 2025-06-13 10:22:09 +08:00 committed by GitHub
commit ee5b21cae0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -254,7 +254,7 @@ public class UserService : IUserService
foreach (var hook in hooks)
{
user = await hook.Authenticate(id, password);
if (user == null || string.IsNullOrEmpty(user.Id))
if (user == null)
{
continue;
}