Explorar o código

Fix #9864: Decrease $maxDelay in Throttler.php

Signed-off-by: Mark Berezovsky <xpnf@yandex.ru>
Mark Berezovsky %!s(int64=6) %!d(string=hai) anos
pai
achega
ad66c6bf08
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/private/Security/Bruteforce/Throttler.php

+ 1 - 1
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