Merge pull request #1076 from JackJiang1234/master
fix new user login error
This commit is contained in:
commit
ee5b21cae0
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue