10000 Improve a security related exception · Issue #45913 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Improve a security related exception #45913
Closed
@javiereguiluz

Description

@javiereguiluz

Description

Via an issue in a third-party bundle I've seen that there's a security-related exception message that could be improved:

throw new \InvalidArgumentException('Unable to find the current firewall LogoutListener, please provide the provider key manually.');

The exception message mentions which is the problem, but it's not very precise about the possible solution. A better exception message would mention the name of the firewall to configure and the exact config option name that should be added or updated.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXDX = Developer eXperience (anything that improves the experience of using Symfony)Security

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0