wx注册错误

This commit is contained in:
richboo111
2022-08-22 17:09:06 +08:00
parent 69bfa4e2f2
commit c38a2dbc86
3 changed files with 7 additions and 0 deletions

View File

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