|
|
|
@@ -53,7 +53,7 @@ func Toggle(options *ToggleOptions) macaron.Handler { |
|
|
|
ctx.Data["Title"] = ctx.Tr("auth.prohibit_login") |
|
|
|
ctx.HTML(200, "user/auth/prohibit_login") |
|
|
|
return |
|
|
|
} else if ctx.User.IsActive && ctx.User.PhoneNumber == "" { |
|
|
|
} else if ctx.User.IsActive && ctx.User.PhoneNumber == "" && ctx.Req.URL.Path != "/bindPhone" { |
|
|
|
ctx.Data["Title"] = ctx.Tr("phone.bind_phone") |
|
|
|
ctx.HTML(200, "user/auth/bind_phone") |
|
|
|
return |
|
|
|
|