- fk
This commit is contained in:
@@ -124,7 +124,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, authInfo:%s", utils.Format4Output(authInfo, 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