From f7e368e2e9ef0a6728646310eb9af8f8e91620ee Mon Sep 17 00:00:00 2001 From: Fijxu Date: Sun, 8 Sep 2024 03:23:09 -0300 Subject: [PATCH] Little fix. --- lib/plugins/crowdsec/captcha.lua | 4 +++- templates/captcha.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/plugins/crowdsec/captcha.lua b/lib/plugins/crowdsec/captcha.lua index a0b6cec..52cca44 100644 --- a/lib/plugins/crowdsec/captcha.lua +++ b/lib/plugins/crowdsec/captcha.lua @@ -70,7 +70,9 @@ function M.GetTemplate() end function M.GetCaptchaBackendKey() - return captcha_frontend_key[M.CaptchaProvider] .. "-response" + -- return captcha_frontend_key[M.CaptchaProvider] .. "-response" + -- Temporary "fix" + return "mcaptcha__token" end function table_to_encoded_url(args) diff --git a/templates/captcha.html b/templates/captcha.html index 7effa82..1e1eea7 100644 --- a/templates/captcha.html +++ b/templates/captcha.html @@ -98,7 +98,7 @@

Parece que no tienes javascript habilitado, no te preocupes, aun puedes acceder al sitio siguiendo estas instrucciones

- Token: + Token: