You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($attempts > $this->config->getSystemValueInt('auth.bruteforce.max-attempts', self::MAX_ATTEMPTS)) {
211
-
$this->logger->info('IP address blocked because it reached the maximum failed attempts in the last 30 minutes [action: {action}, attempts: {attempts}, ip: {ip}]', [
212
-
'action' => $action,
213
-
'ip' => $ip,
214
-
'attempts' => $attempts,
215
-
]);
216
-
// If the ip made too many attempts within the last 30 mins we don't execute anymore
$this->logger->info('IP address blocked because it reached the maximum failed attempts in the last 30 minutes [action: {action}, attempts: {attempts}, ip: {ip}]', [
215
+
'action' => $action,
216
+
'ip' => $ip,
217
+
'attempts' => $attempts30mins,
218
+
]);
219
+
// If the ip made too many attempts within the last 30 mins we don't execute anymore
220
+
thrownewMaxDelayReached('Reached maximum delay');
221
+
}
222
+
222
223
$this->logger->info('IP address throttled because it reached the attempts limit in the last 12 hours [action: {action}, attempts: {attempts}, ip: {ip}]', [
0 commit comments