diff --git a/lib/Service/LoginClassifier.php b/lib/Service/LoginClassifier.php index d7e88dc..56008a6 100644 --- a/lib/Service/LoginClassifier.php +++ b/lib/Service/LoginClassifier.php @@ -172,7 +172,7 @@ class LoginClassifier { $lastHour = count($this->mapper->findRecentByUid($uid, $now - 60 * 60)); if ($lastHour > 3) { - $this->logger->warning("Suspicious login peak detected: $uid received $lastTwoDays alerts in the last hour"); + $this->logger->warning("Suspicious login peak detected: $uid received $lastHour alerts in the last hour"); return; }