diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-10-18 23:26:55 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-10-18 23:26:55 -0400 |
commit | 3abc41cccab2486012b46305827433ad6f5deade (patch) | |
tree | 91f34bbc2dcfe9266039aafdddbb6be45c7464f4 /routers/user/auth.go | |
parent | 9e3a1bc11af8ab95a4d6b47607a89207941a3119 (diff) | |
download | gitea-3abc41cccab2486012b46305827433ad6f5deade.tar.gz gitea-3abc41cccab2486012b46305827433ad6f5deade.zip |
Fix API broken
Diffstat (limited to 'routers/user/auth.go')
-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 c695f929a7..dd637786c4 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) { + if !cpt.VerifyReq(ctx.Req.Request) { ctx.Data["Err_Captcha"] = true ctx.RenderWithErr(ctx.Tr("form.captcha_incorrect"), SIGNUP, &form) return |