diff options
author | Mark Berezovsky <xpnf@yandex.ru> | 2018-06-15 04:58:08 +0300 |
---|---|---|
committer | Mark Berezovsky <xpnf@yandex.ru> | 2018-06-15 04:58:08 +0300 |
commit | ad66c6bf0813db362f9a6424b7aea0f89e892075 (patch) | |
tree | dce7d36e187a7095508cf1b1c4ee5e22bb636cbd /lib/private/Security | |
parent | 84a1c915e6556f23f1e264094fed10a37e386b9a (diff) | |
download | nextcloud-server-ad66c6bf0813db362f9a6424b7aea0f89e892075.tar.gz nextcloud-server-ad66c6bf0813db362f9a6424b7aea0f89e892075.zip |
Fix #9864: Decrease $maxDelay in Throttler.php
Signed-off-by: Mark Berezovsky <xpnf@yandex.ru>
Diffstat (limited to 'lib/private/Security')
-rw-r--r-- | lib/private/Security/Bruteforce/Throttler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Security/Bruteforce/Throttler.php b/lib/private/Security/Bruteforce/Throttler.php index f08b721d143..3282121d967 100644 --- a/lib/private/Security/Bruteforce/Throttler.php +++ b/lib/private/Security/Bruteforce/Throttler.php @@ -228,7 +228,7 @@ class Throttler { return 0; } - $maxDelay = 30; + $maxDelay = 25; $firstDelay = 0.1; if ($attempts > (8 * PHP_INT_SIZE - 1)) { // Don't ever overflow. Just assume the maxDelay time:s |