mirror of
https://gitee.com/gitea/gitea
synced 2025-11-10 19:40:25 +08:00
Fix API broken
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user