This commit is contained in:
richboo111
2022-08-12 10:35:22 +08:00
parent 4567d8dff6
commit 0819ed3b2b

View File

@@ -276,7 +276,7 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string
// authBindEx.UserID = user.GetID()
// }
//if user3:=api.DingDingAPI.GetUserID(a)
if user2 := userProvider.GetUser(authBindEx.UserHint.Email, UserIDMobile); user2 != nil {
if user2 := userProvider.GetUser(authBindEx.AuthID2, authIDType); user2 != nil {
user = user2
}
globals.SugarLogger.Debug("user检测1=============", user)