diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2021-05-31 13:30:17 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2021-05-31 13:30:17 +0300 |
commit | e32f6f80b95d60b69ad2826fd2bf64fc84ca1a41 (patch) | |
tree | acd62c1840e945dcf40b7c1d0bffd756e60178a0 /page-quotesubmit.php | |
parent | aad9920df69f7b3befcbcd0e2938bdf8dbcff350 (diff) |
Reduce ratelimits
Moved the ratelimits per form down to usually 2 per hour.
Added a global ratelimit of 20 requests per hour.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'page-quotesubmit.php')
-rw-r--r-- | page-quotesubmit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/page-quotesubmit.php b/page-quotesubmit.php index 67162dce..3699672a 100644 --- a/page-quotesubmit.php +++ b/page-quotesubmit.php @@ -46,7 +46,7 @@ <?php require_once realpath(dirname(__FILE__)) . '/lib/ratelimiter.php'; -if(!canPerformLimitedAction("sales-submit-action", 10)) { +if(!canPerformLimitedAction("sales-submit-action", 2)) { die("Too many requests. Please try again later."); } |