Rollback on hcaptcha passive feature

This commit is contained in:
Théophile Diot 2023-06-12 16:42:22 -04:00
parent c08e8d151a
commit fc8d76f33d
No known key found for this signature in database
GPG Key ID: E752C80DB72BB014
2 changed files with 0 additions and 10 deletions

View File

@ -288,7 +288,6 @@ function antibot:display_challenge()
-- hCaptcha case
if self.session_data.type == "hcaptcha" then
template_vars.hcaptcha_sitekey = self.variables["ANTIBOT_HCAPTCHA_SITEKEY"]
template_vars.hcaptcha_passive = self.variables["ANTIBOT_HCAPTCHA_PASSIVE"] == "yes"
end
-- Turnstile case

View File

@ -59,15 +59,6 @@
"regex": "^[\\w-]*$",
"type": "password"
},
"ANTIBOT_HCAPTCHA_PASSIVE": {
"context": "multisite",
"default": "no",
"help": "Use hCaptcha in passive mode.",
"id": "antibot-hcaptcha-passive",
"label": "hCaptcha passive",
"regex": "^(yes|no)$",
"type": "check"
},
"ANTIBOT_HCAPTCHA_SITEKEY": {
"context": "multisite",
"default": "",