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 50c6810 commit 36c3162Copy full SHA for 36c3162
EventListener/LoginThrottlingListener.php
@@ -48,7 +48,7 @@ public function checkPassport(CheckPassportEvent $event): void
48
$limiterKey = $this->createLimiterKey($username, $request);
49
50
$limiter = $this->limiter->create($limiterKey);
51
- if (!$limiter->consume()) {
+ if (!$limiter->consume()->isAccepted()) {
52
throw new TooManyLoginAttemptsAuthenticationException();
53
}
54
0 commit comments