From 146c8efee3d01e220aa8f8554b69b6f76a0820e4 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 18 Oct 2014 23:42:43 -0400 Subject: [PATCH] Fix API broken --- routers/user/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/user/auth.go b/routers/user/auth.go index dd637786c..c695f929a 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