- jxcontext.New

This commit is contained in:
gazebo
2019-03-05 11:18:30 +08:00
parent 9179ad127d
commit a8e92dd92e
5 changed files with 58 additions and 12 deletions

View File

@@ -177,7 +177,7 @@ func (c *Auth2Controller) AddAuthBind() {
func (c *Auth2Controller) RemoveAuthBind() {
c.callRemoveAuthBind(func(params *tAuth2RemoveAuthBindParams) (retVal interface{}, errCode string, err error) {
authInfo, err2 := params.Ctx.GetV2AuthInfo()
if err := err2; err == nil {
if err = err2; err == nil {
err = auth2.UnbindAuth(authInfo, params.AuthType)
}
return retVal, "", err