mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-26 15:52:42 +01:00
Fix API broken
This commit is contained in:
parent
3abc41ccca
commit
146c8efee3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue