summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-02-15 14:09:56 +0100
committerGitHub <noreply@github.com>2019-02-15 14:09:56 +0100
commitfb2de45fd09d309e80fe5ad12a6ae0818f660429 (patch)
tree1ec2ac55fcc9080e33d94e17e166b441b1dbdb47
parent61f20e819ae71a7d92e659d8fefa6cf5e3670247 (diff)
parent56038b95b0b48da4ed2258ac1ece9d4901011cac (diff)
downloadnextcloud-server-fb2de45fd09d309e80fe5ad12a6ae0818f660429.tar.gz
nextcloud-server-fb2de45fd09d309e80fe5ad12a6ae0818f660429.zip
Merge pull request #14224 from nextcloud/backport/9875/stable13
[stable13] Fix #9864: Decrease $maxDelay in Throttler.php
-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