diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-10-18 23:42:43 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-10-18 23:42:43 -0400 |
commit | 146c8efee3d01e220aa8f8554b69b6f76a0820e4 (patch) | |
tree | 1511785fba1153c0c2bd47f346494668420ef7cb | |
parent | 3abc41cccab2486012b46305827433ad6f5deade (diff) | |
download | gitea-146c8efee3d01e220aa8f8554b69b6f76a0820e4.tar.gz gitea-146c8efee3d01e220aa8f8554b69b6f76a0820e4.zip |
Fix API broken
-rw-r--r-- | routers/user/auth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/auth.go b/routers/user/auth.go index dd637786c4..c695f929a7 100644 --- a/routers/user/auth.go +++ b/routers/user/auth.go @@ -229,7 +229,7 @@ func SignUpPost(ctx *middleware.Context, cpt *captcha.Captcha, form auth.Registe return } - if !cpt.VerifyReq(ctx.Req.Request) { + if !cpt.VerifyReq(ctx.Req) { ctx.Data["Err_Captcha"] = true ctx.RenderWithErr(ctx.Tr("form.captcha_incorrect"), SIGNUP, &form) return |