From 1636169e145a7a11605726e3a277ef8ed9ab075f Mon Sep 17 00:00:00 2001 From: alteredCoder Date: Mon, 31 Jan 2022 15:40:01 +0100 Subject: [PATCH] update --- nginx/plugins/crowdsec/recaptcha.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/plugins/crowdsec/recaptcha.lua b/nginx/plugins/crowdsec/recaptcha.lua index c77f714..9c80f07 100644 --- a/nginx/plugins/crowdsec/recaptcha.lua +++ b/nginx/plugins/crowdsec/recaptcha.lua @@ -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