From 9f380aed1977145518214a8fa12c0c9dc36846f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C5=A1a=20Stamenkovi=C4=87?= Date: Fri, 15 May 2020 13:45:20 +0200 Subject: [PATCH] AccountStatusException extends AuthenticationException --- .../Core/Authentication/AuthenticationProviderManager.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Symfony/Component/Security/Core/Authentication/AuthenticationProviderManager.php b/src/Symfony/Component/Security/Core/Authentication/AuthenticationProviderManager.php index e91c5d8144f6c..e585059812861 100644 --- a/src/Symfony/Component/Security/Core/Authentication/AuthenticationProviderManager.php +++ b/src/Symfony/Component/Security/Core/Authentication/AuthenticationProviderManager.php @@ -16,7 +16,6 @@ use Symfony\Component\Security\Core\AuthenticationEvents; use Symfony\Component\Security\Core\Event\AuthenticationFailureEvent; use Symfony\Component\Security\Core\Event\AuthenticationSuccessEvent; -use Symfony\Component\Security\Core\Exception\AccountStatusException; use Symfony\Component\Security\Core\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\ProviderNotFoundException; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; @@ -83,10 +82,6 @@ public function authenticate(TokenInterface $token) if (null !== $result) { break; } - } catch (AccountStatusException $e) { - $lastException = $e; - - break; } catch (AuthenticationException $e) { $lastException = $e; }