From 8014b38055272ccfe0aaf68fd03c1ce187f236ae Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Sat, 24 Jun 2017 14:52:30 +0200 Subject: [PATCH] [Security] Fix Firewall ExceptionListener priority --- .../Component/Security/Http/Firewall/ExceptionListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php b/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php index 2819018a8c2ae..fc279c0b3ab96 100644 --- a/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php +++ b/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php @@ -72,7 +72,7 @@ public function __construct(TokenStorageInterface $tokenStorage, AuthenticationT */ public function register(EventDispatcherInterface $dispatcher) { - $dispatcher->addListener(KernelEvents::EXCEPTION, array($this, 'onKernelException')); + $dispatcher->addListener(KernelEvents::EXCEPTION, array($this, 'onKernelException'), 1); } /**