From 931aca2fee00d6bf55273512212bb21a0300b03e Mon Sep 17 00:00:00 2001
From: Joas Schilling <coding@schilljs.com>
Date: Wed, 3 Jun 2020 08:33:05 +0200
Subject: [PATCH] Add missing default

Signed-off-by: Joas Schilling <coding@schilljs.com>
---
 lib/private/Security/Bruteforce/Throttler.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/Security/Bruteforce/Throttler.php b/lib/private/Security/Bruteforce/Throttler.php
index ef870f4b99a..b490c6a4012 100644
--- a/lib/private/Security/Bruteforce/Throttler.php
+++ b/lib/private/Security/Bruteforce/Throttler.php
@@ -99,7 +99,7 @@ class Throttler {
 	 * @param float $maxAgeHours
 	 * @return int
 	 */
-	private function getCutoffTimestamp(float $maxAgeHours): int {
+	private function getCutoffTimestamp(float $maxAgeHours = 12.0): int {
 		return (new \DateTime())
 			->sub($this->getCutoff((int) ($maxAgeHours * 3600)))
 			->getTimestamp();
-- 
GitLab