File tree 1 file changed +2
-0
lines changed
src/Symfony/Bundle/SecurityBundle
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 23
23
use Symfony \Bundle \SecurityBundle \DependencyInjection \Security \Factory \SimplePreAuthenticationFactory ;
24
24
use Symfony \Bundle \SecurityBundle \DependencyInjection \Security \Factory \SimpleFormFactory ;
25
25
use Symfony \Bundle \SecurityBundle \DependencyInjection \Security \UserProvider \InMemoryFactory ;
26
+ use Symfony \Bundle \SecurityBundle \DependencyInjection \Security \Factory \GuardAuthenticationFactory ;
26
27
27
28
/**
28
29
* Bundle.
@@ -44,6 +45,7 @@ public function build(ContainerBuilder $container)
44
45
$ extension ->addSecurityListenerFactory (new RemoteUserFactory ());
45
46
$ extension ->addSecurityListenerFactory (new SimplePreAuthenticationFactory ());
46
47
$ extension ->addSecurityListenerFactory (new SimpleFormFactory ());
48
+ $ extension ->addSecurityListenerFactory (new GuardAuthenticationFactory ());
47
49
48
50
$ extension ->addUserProviderFactory (new InMemoryFactory ());
49
51
$ container ->addCompilerPass (new AddSecurityVotersPass ());
You can’t perform that action at this time.
0 commit comments