fix new user login error

This commit is contained in:
Jack 2025-06-13 10:03:51 +08:00 committed by GitHub
parent 8e44bcad4a
commit 5a70327254
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;
}