Rollback on hcaptcha passive feature
This commit is contained in:
parent
c08e8d151a
commit
fc8d76f33d
|
@ -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
|
||||
|
|
|
@ -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": "",
|
||||
|
|
Loading…
Reference in New Issue