aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcaptcha.php6
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage