File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 2323use Symfony \Bundle \SecurityBundle \DependencyInjection \Security \Factory \SimplePreAuthenticationFactory ;
2424use Symfony \Bundle \SecurityBundle \DependencyInjection \Security \Factory \SimpleFormFactory ;
2525use Symfony \Bundle \SecurityBundle \DependencyInjection \Security \UserProvider \InMemoryFactory ;
26+ use Symfony \Bundle \SecurityBundle \DependencyInjection \Security \Factory \GuardAuthenticationFactory ;
2627
2728/**
2829 * Bundle.
@@ -44,6 +45,7 @@ public function build(ContainerBuilder $container)
4445 $ extension ->addSecurityListenerFactory (new RemoteUserFactory ());
4546 $ extension ->addSecurityListenerFactory (new SimplePreAuthenticationFactory ());
4647 $ extension ->addSecurityListenerFactory (new SimpleFormFactory ());
48+ $ extension ->addSecurityListenerFactory (new GuardAuthenticationFactory ());
4749
4850 $ extension ->addUserProviderFactory (new InMemoryFactory ());
4951 $ container ->addCompilerPass (new AddSecurityVotersPass ());
You can’t perform that action at this time.
0 commit comments