summaryrefslogtreecommitdiffstats
path: root/lib/private/Security
diff options
context:
space:
mode:
authorMark Berezovsky <xpnf@yandex.ru>2018-06-15 04:58:08 +0300
committerMark Berezovsky <xpnf@yandex.ru>2018-06-15 04:58:08 +0300
commitad66c6bf0813db362f9a6424b7aea0f89e892075 (patch)
treedce7d36e187a7095508cf1b1c4ee5e22bb636cbd /lib/private/Security
parent84a1c915e6556f23f1e264094fed10a37e386b9a (diff)
downloadnextcloud-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.php2
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