Commit 1333023e authored by Fabien Potencier's avatar Fabien Potencier

added some code that should be uncommented when Silex will use Symfony 2.2

parent fc5f2487
......@@ -506,6 +506,8 @@ class SecurityServiceProvider implements ServiceProviderInterface
public function boot(Application $app)
{
// FIXME: in Symfony 2.2, this is a proper subscriber
//$app['dispatcher']->addSubscriber($app['security.firewall']);
$app['dispatcher']->addListener('kernel.request', array($app['security.firewall'], 'onKernelRequest'), 8);
foreach ($this->fakeRoutes as $route) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment