This commit is contained in:
richboo111
2022-08-11 14:48:58 +08:00
parent 4acbe90038
commit 9e1fa883b5
3 changed files with 2 additions and 10 deletions

View File

@@ -275,8 +275,10 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string
if user2 := userProvider.GetUser(authBindEx.UserHint.Email, UserIDMobile); user2 != nil {
user = user2
}
globals.SugarLogger.Debug("user检测1=============", user)
} else if authBindEx.UserID != "" {
user = userProvider.GetUser(authBindEx.UserID, UserIDID)
globals.SugarLogger.Debug("user检测2=============", user)
}
globals.SugarLogger.Debug("user第二次=============", user)
}