Commit 2b28989b authored by Fabien Potencier's avatar Fabien Potencier

fixed a fatal error when the security provider is created without any...

fixed a fatal error when the security provider is created without any firewalls (which of course does not make sense but anyways, refs #473)
parent 49d36f80
......@@ -119,6 +119,8 @@ class SecurityServiceProvider implements ServiceProviderInterface
);
});
$app['security.firewalls'] = array();
// generate the build-in authentication factories
foreach (array('logout', 'pre_auth', 'form', 'http', 'remember_me', 'anonymous') as $type) {
$entryPoint = null;
......
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