This commit is contained in:
richboo111
2022-08-11 14:13:49 +08:00
parent 56bed3d517
commit d029659628

View File

@@ -278,7 +278,9 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string
user = userProvider.GetUser(authBindEx.UserID, UserIDID)
}
}
globals.SugarLogger.Debug("输出authBindEx", authBindEx)
authInfo = createAuthInfo(user, authBindEx)
globals.SugarLogger.Debug("输出authInfo", authInfo)
if user != nil && user.GetID() != "" {
userProvider.UpdateLastLogin(user.GetID(), authType, ctx.GetRealRemoteIP())
}