[Security] Fix Firewall ExceptionListener priority

This commit is contained in:
Robin Chalas 2017-06-24 14:52:30 +02:00
parent 7093fc1f24
commit 8014b38055

View File

@ -72,7 +72,7 @@ class ExceptionListener
*/
public function register(EventDispatcherInterface $dispatcher)
{
$dispatcher->addListener(KernelEvents::EXCEPTION, array($this, 'onKernelException'));
$dispatcher->addListener(KernelEvents::EXCEPTION, array($this, 'onKernelException'), 1);
}
/**