Explorar o código

Fix API broken

Unknwon %!s(int64=10) %!d(string=hai) anos
pai
achega
146c8efee3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      routers/user/auth.go

+ 1 - 1
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