Browse Source

#1494

fix
tags/v1.22.2.2^2
chenyifan01 3 years ago
parent
commit
22e4af4a2a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/context/auth.go

+ 1
- 1
modules/context/auth.go View File

@@ -156,7 +156,7 @@ func Toggle(options *ToggleOptions) macaron.Handler {
redirectUrl = ctx.Req.URL.RequestURI()
}
ctx.SetCookie("redirect_to", setting.AppSubURL+redirectUrl, 0, setting.AppSubURL)
ctx.JSON(200, map[string]interface{}{
ctx.JSON(200, map[string]string{
"WechatRedirectUrl": setting.AppSubURL + "/authentication/wechat/bind",
})
}


Loading…
Cancel
Save