update
This commit is contained in:
parent
e1c2b0734e
commit
1636169e14
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ function M.Validate(g_captcha_res, remote_ip)
|
|||
for k, v in pairs(result["error-codes"]) do
|
||||
if v == "invalid-input-secret" then
|
||||
ngx.log(ngx.ERR, "reCaptcha secret key is invalid")
|
||||
break
|
||||
return true, nil
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue