删除打印

This commit is contained in:
邹宗楠
2023-01-31 10:51:50 +08:00
parent b63f39aae1
commit 128117ca6d

View File

@@ -3,7 +3,6 @@ package controllers
import (
"encoding/base64"
"fmt"
"git.rosy.net.cn/jx-callback/globals"
"net/http"
"strings"
@@ -132,7 +131,6 @@ func (c *Auth2Controller) Login() {
params.AuthSecret = GetComposedCode2(&c.Controller, params.AuthSecret)
}
ctx := auth2.NewContext(c.Ctx.ResponseWriter, c.Ctx.Request)
globals.SugarLogger.Debugf("======参数login === %s", utils.Format4Output(params, false))
authInfo, err := auth2.Login(ctx, params.AuthType, params.AuthID, params.AuthIDType, params.AuthSecret)
// TODO 兼容没有取到authid2的错误
if err == nil && authInfo.AuthBindInfo != nil {