Browse Source

#1573

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

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

@@ -357,7 +357,7 @@ func Contexter() macaron.Handler {

// CheckWechatBind
func (ctx *Context) CheckWechatBind() {
if !setting.WechatAuthSwitch {
if !setting.WechatAuthSwitch || ctx.User.IsBindWechat() {
return
}
redirectUrl := ctx.Query("redirect_to")


Loading…
Cancel
Save