Skip to content

[Security] anonymous: lazy deprecation warning #13749

Closed
@rcapile

Description

@rcapile

I upgrade to symfony/security-bundle to 5.1 and I got the deprecation warning Since symfony/security-bundle 5.1: Using "anonymous: lazy" to make the firewall lazy is deprecated, use "anonymous: true" and "lazy: true" instead.

But there's nothing about this change in https://symfony.com/doc/current/security.html#a-authentication-firewalls

Sorry I can't make a PR because I believe it would require some explanation why it's now two options and a "New in Version 5.1" box, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    SecurityhasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions