Show properties in user page.

This commit is contained in:
Yang Luo
2021-05-30 18:35:05 +08:00
parent dc89f2b0f6
commit 11f1f8f440
7 changed files with 52 additions and 0 deletions

View File

@ -49,6 +49,8 @@ func (c *ApiController) Unlink() {
return
}
object.ClearUserProperties(user, providerType)
object.LinkUserAccount(user, providerType, "")
resp = Response{Status: "ok", Msg: ""}
c.Data["json"] = resp