dd
This commit is contained in:
@@ -251,6 +251,7 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string
|
||||
globals.SugarLogger.Debugf("Login authBindEx", utils.Format4Output(authBindEx, false))
|
||||
if authBindEx == nil { // mobile, email会返回nil(表示不会新建AuthBind实体)
|
||||
user = userProvider.GetUser(authID, authIDType)
|
||||
globals.SugarLogger.Debug("user第一次===================", user)
|
||||
authBindEx = &AuthBindEx{
|
||||
AuthBind: model.AuthBind{
|
||||
Type: authType,
|
||||
@@ -277,6 +278,7 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string
|
||||
} else if authBindEx.UserID != "" {
|
||||
user = userProvider.GetUser(authBindEx.UserID, UserIDID)
|
||||
}
|
||||
globals.SugarLogger.Debug("user第二次=============", user)
|
||||
}
|
||||
globals.SugarLogger.Debug("输出authBindEx,user", authBindEx, user)
|
||||
authInfo = createAuthInfo(user, authBindEx)
|
||||
|
||||
Reference in New Issue
Block a user