From c3778050bd312caa2bc70033a53a9c5d09566554 Mon Sep 17 00:00:00 2001 From: Romaric Drigon Date: Tue, 1 Dec 2020 09:45:30 +0100 Subject: [PATCH] [Security] fix #39249, default entry_point compiler pass was returning too early --- .../DependencyInjection/Compiler/RegisterEntryPointPass.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler/RegisterEntryPointPass.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler/RegisterEntryPointPass.php index d76e7ecdbc..2dc0c8b1ed 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler/RegisterEntryPointPass.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler/RegisterEntryPointPass.php @@ -50,7 +50,7 @@ class RegisterEntryPointPass implements CompilerPassInterface } if (!$entryPoints) { - return; + continue; } $config = $container->getDefinition('security.firewall.map.config.'.$firewallName);