删除打印
This commit is contained in:
@@ -3,7 +3,6 @@ package controllers
|
|||||||
import (
|
import (
|
||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.rosy.net.cn/jx-callback/globals"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@@ -132,7 +131,6 @@ func (c *Auth2Controller) Login() {
|
|||||||
params.AuthSecret = GetComposedCode2(&c.Controller, params.AuthSecret)
|
params.AuthSecret = GetComposedCode2(&c.Controller, params.AuthSecret)
|
||||||
}
|
}
|
||||||
ctx := auth2.NewContext(c.Ctx.ResponseWriter, c.Ctx.Request)
|
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)
|
authInfo, err := auth2.Login(ctx, params.AuthType, params.AuthID, params.AuthIDType, params.AuthSecret)
|
||||||
// TODO 兼容没有取到authid2的错误
|
// TODO 兼容没有取到authid2的错误
|
||||||
if err == nil && authInfo.AuthBindInfo != nil {
|
if err == nil && authInfo.AuthBindInfo != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user