We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96410fb commit 705707bCopy full SHA for 705707b
src/Listeners/BlockIp.php
@@ -26,7 +26,7 @@ public function handle(AttackDetected $event)
26
->where('middleware', $event->log->middleware)
27
->whereBetween('created_at', [$start, $end])->count();
28
29
- if ($count < config('firewall.middleware.' . $event->log->middleware . '.auto_block.attempts')) {
+ if ($count != config('firewall.middleware.' . $event->log->middleware . '.auto_block.attempts')) {
30
return;
31
}
32
0 commit comments