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-includesubmit.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-includesubmit.php')
-rw-r--r-- | page-includesubmit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/page-includesubmit.php b/page-includesubmit.php index b4734e8d..57a5d281 100644 --- a/page-includesubmit.php +++ b/page-includesubmit.php @@ -21,7 +21,7 @@ <?php require_once realpath(dirname(__FILE__)) . '/lib/ratelimiter.php'; -if(!canPerformLimitedAction("appmarketing-submit-action", 10)) { +if(!canPerformLimitedAction("appmarketing-submit-action", 2)) { die("Too many requests. Please try again later."); } |