Skip to content

Commit

Permalink
[Security] Updated a deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed May 25, 2020
1 parent 8e5eeec commit c95af45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/Security/Factory/AnonymousFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function addConfiguration(NodeDefinition $builder)
->then(function ($v) { return ['lazy' => true]; })
->end()
->children()
->booleanNode('lazy')->defaultFalse()->setDeprecated('symfony/security-bundle', '5.1', 'Using "anonymous: lazy" to make the firewall lazy is deprecated, use "lazy: true" instead.')->end()
->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()
->scalarNode('secret')->defaultNull()->end()
->end()
;
Expand Down

0 comments on commit c95af45

Please sign in to comment.