diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-05-27 22:35:10 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-05-27 22:35:10 -0700 |
| commit | c782c5a1be006b8cd9e2bc1928afa38ade3a254f (patch) | |
| tree | 1e6880abe34c3a1869287f5d4dafbaab411c2e05 | |
| parent | af79a76c78d7886a365784ac6d1895f65c1c381e (diff) | |
adjust captcha difficulty
| -rwxr-xr-x | captcha.php | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
