diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-02-15 14:09:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-15 14:09:56 +0100 |
commit | fb2de45fd09d309e80fe5ad12a6ae0818f660429 (patch) | |
tree | 1ec2ac55fcc9080e33d94e17e166b441b1dbdb47 | |
parent | 61f20e819ae71a7d92e659d8fefa6cf5e3670247 (diff) | |
parent | 56038b95b0b48da4ed2258ac1ece9d4901011cac (diff) | |
download | nextcloud-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.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 |