diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-05-27 22:35:10 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-07-27 14:05:24 +0000 |
| commit | fc8934aa2e5bbc60a5b279ddd828a9f722944013 (patch) | |
| tree | 5eb5287d6241c2cac9f4e647187c4179d6a5f7bc | |
| parent | 7911188c6b3f2aab86c00aa3d0c59876ddeba303 (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 |
