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.
2 parents 9dded72 + 36c3162 commit 19005ecCopy full SHA for 19005ec
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