- 去掉GetV2AuthInfo中的调试输出
This commit is contained in:
@@ -120,7 +120,7 @@ func (ctx *Context) GetLoginInfo() IAuther {
|
|||||||
|
|
||||||
func (ctx *Context) GetV2AuthInfo() (authInfo *auth2.AuthInfo, err error) {
|
func (ctx *Context) GetV2AuthInfo() (authInfo *auth2.AuthInfo, err error) {
|
||||||
authInfo, ok := ctx.userInfo.(*auth2.AuthInfo)
|
authInfo, ok := ctx.userInfo.(*auth2.AuthInfo)
|
||||||
globals.SugarLogger.Debugf("GetV2AuthInfo, userInfo:%s", utils.Format4Output(ctx.userInfo, false))
|
// globals.SugarLogger.Debugf("GetV2AuthInfo, userInfo:%s", utils.Format4Output(ctx.userInfo, false))
|
||||||
if ok {
|
if ok {
|
||||||
return authInfo, nil
|
return authInfo, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user