Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8014b38

Browse files
committed
[Security] Fix Firewall ExceptionListener priority
1 parent 7093fc1 commit 8014b38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function __construct(TokenStorageInterface $tokenStorage, AuthenticationT
7272
*/
7373
public function register(EventDispatcherInterface $dispatcher)
7474
{
75-
$dispatcher->addListener(KernelEvents::EXCEPTION, array($this, 'onKernelException'));
75+
$dispatcher->addListener(KernelEvents::EXCEPTION, array($this, 'onKernelException'), 1);
7676
}
7777

7878
/**

0 commit comments

Comments
 (0)