Browse Source

Fix API broken

tags/v1.2.0-rc1
Unknwon 10 years ago
parent
commit
146c8efee3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/user/auth.go

+ 1
- 1
routers/user/auth.go View File

@@ -229,7 +229,7 @@ func SignUpPost(ctx *middleware.Context, cpt *captcha.Captcha, form auth.Registe
return return
} }


if !cpt.VerifyReq(ctx.Req.Request) {
if !cpt.VerifyReq(ctx.Req) {
ctx.Data["Err_Captcha"] = true ctx.Data["Err_Captcha"] = true
ctx.RenderWithErr(ctx.Tr("form.captcha_incorrect"), SIGNUP, &form) ctx.RenderWithErr(ctx.Tr("form.captcha_incorrect"), SIGNUP, &form)
return return


Loading…
Cancel
Save