Commit 04feaff0 authored by Fabien Potencier's avatar Fabien Potencier

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

Revert "fixed a fatal error when the security provider is created without any firewalls (which of course does not make sense but anyways, refs #473)"

This reverts commit 2b28989b.
parent 4bf956bd
...@@ -119,8 +119,6 @@ class SecurityServiceProvider implements ServiceProviderInterface ...@@ -119,8 +119,6 @@ class SecurityServiceProvider implements ServiceProviderInterface
); );
}); });
$app['security.firewalls'] = array();
// generate the build-in authentication factories // generate the build-in authentication factories
foreach (array('logout', 'pre_auth', 'form', 'http', 'remember_me', 'anonymous') as $type) { foreach (array('logout', 'pre_auth', 'form', 'http', 'remember_me', 'anonymous') as $type) {
$entryPoint = null; $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