- IAuther.UnbindAuth的接口改为userID
This commit is contained in:
@@ -248,7 +248,7 @@ 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 {
|
||||
err = auth2.UnbindAuth(authInfo, params.AuthType)
|
||||
err = auth2.UnbindAuth(authInfo.GetID(), params.AuthType, params.Ctx.GetUserName())
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user