From c782c5a1be006b8cd9e2bc1928afa38ade3a254f Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 27 May 2026 22:35:10 -0700 Subject: adjust captcha difficulty --- captcha.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'captcha.php') diff --git a/captcha.php b/captcha.php index 49e6c5b..8592d44 100755 --- a/captcha.php +++ b/captcha.php @@ -39,13 +39,13 @@ header("Last-Modified: Thu, 01 Oct 1970 00:00:00 GMT"); // ** generate captcha data // get the positions for the answers -// will return between 3 and 6 answer positions +// will return between 3 and 5 answer positions $range = range(0, 15); $answer_pos = []; array_splice($range, 0, 1); -$picks = random_int(3, 6); +$picks = random_int(3, 5); for($i=0; $i<$picks; $i++){ @@ -95,7 +95,7 @@ for($i=0; $i<16; $i++){ apcu_store( $_GET["v"], $answer_pos, - 60 // we give user 1 minute to solve + 90 // we give user 1 minute 30 sec to solve ); // generate image -- cgit v1.2.3