From 719a8ee74fc26391b125426246c529a61e81d38c Mon Sep 17 00:00:00 2001 From: Derk Date: Fri, 26 Sep 2025 18:42:42 +0200 Subject: [PATCH] Replace honeypot with password2 Fixes #30 --- captcha/sortables.php | 4 ++-- styles/prosilver/template/captcha_sortables.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/captcha/sortables.php b/captcha/sortables.php index 5b6334e..0ff325b 100644 --- a/captcha/sortables.php +++ b/captcha/sortables.php @@ -474,8 +474,8 @@ public function check_answer() // Well how did the user sorted it $options_left = $this->request->variable('sortables_options_left', array(0)); $options_right = $this->request->variable('sortables_options_right', array(0)); - $honeypot = $this->request->variable('password', []); - if ($honeypot != []) + $honeypot = $this->request->variable('password2', ''); + if ($honeypot) { return false; } diff --git a/styles/prosilver/template/captcha_sortables.html b/styles/prosilver/template/captcha_sortables.html index bd6b3fb..d7b81e3 100644 --- a/styles/prosilver/template/captcha_sortables.html +++ b/styles/prosilver/template/captcha_sortables.html @@ -72,7 +72,7 @@

{L_CONFIRMATION}

- +