Skip to content

Commit c95af45

Browse files
committed
[Security] Updated a deprecation message
1 parent 8e5eeec commit c95af45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Security/Factory/AnonymousFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function addConfiguration(NodeDefinition $builder)
6868
->then(function ($v) { return ['lazy' => true]; })
6969
->end()
7070
->children()
71-
->booleanNode('lazy')->defaultFalse()->setDeprecated('symfony/security-bundle', '5.1', 'Using "anonymous: lazy" to make the firewall lazy is deprecated, use "lazy: true" instead.')->end()
71+
->booleanNode('lazy')->defaultFalse()->setDeprecated('symfony/security-bundle', '5.1', 'Using "anonymous: lazy" to make the firewall lazy is deprecated, use "anonymous: true" and "lazy: true" instead.')->end()
7272
->scalarNode('secret')->defaultNull()->end()
7373
->end()
7474
;

0 commit comments

Comments
 (0)