Skip to content

Commit 81432f9

Browse files
committed
Adding missing factory registration
1 parent 7a94994 commit 81432f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Bundle/SecurityBundle/SecurityBundle.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SimplePreAuthenticationFactory;
2424
use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SimpleFormFactory;
2525
use 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());

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy