Skip to content

Commit 40a2d2f

Browse files
committed
[SecurityBundle] Deprecate the security.authentication.hide_user_not_found parameter
1 parent 6e2fcec commit 40a2d2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ public function load(array $configs, ContainerBuilder $container): void
157157
}
158158

159159
$container->setParameter('security.authentication.hide_user_not_found', ExposeSecurityLevel::All !== $config['expose_security_errors']);
160+
$container->deprecateParameter('security.authentication.hide_user_not_found', 'symfony/security-bundle', '7.4');
161+
160162
$container->setParameter('.security.authentication.expose_security_errors', $config['expose_security_errors']);
161163

162164
if (class_exists(Application::class)) {

0 commit comments

Comments
 (0)