From 6c4e40ba60f4353590199769cf64f82f0528efe9 Mon Sep 17 00:00:00 2001 From: Ben Nottelling Date: Thu, 5 Aug 2021 08:45:26 -0700 Subject: [PATCH] Fix typo and correct API throttling description --- src/bb-config-sample.php | 2 +- src/install/install.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bb-config-sample.php b/src/bb-config-sample.php index 6e89fb650..0dac096a6 100755 --- a/src/bb-config-sample.php +++ b/src/bb-config-sample.php @@ -112,7 +112,7 @@ return array( /** * Note about rate limiting login attempts: - * When the limit is reach, a simple 2 second delay is added to the request. + * When the limit is reach, a default delay of 2 seconds is added to the request. * This makes brute forcing a password basically useless while not outright blocking legitimate traffic. * When calculating, ensure the rate limited traffic can still make enough requests to stay rate limited * Ex: One request every 2 seconds is more than 20 times in 1 minute, so the IP will remain throttled diff --git a/src/install/install.php b/src/install/install.php index f7f95fc54..831f8b22f 100644 --- a/src/install/install.php +++ b/src/install/install.php @@ -385,7 +385,7 @@ final class Box_Installer 'rate_limit' => 1000, 'throttle_delay' => 2, 'rate_span_login' => 60, - 'rate_limit_login' = 20, + 'rate_limit_login' => 20, ], ]; $output = '