Skip to content

[Security/Core] Add CustomUserMessageAccountStatusException #13632

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fabpot opened this issue May 5, 2020 · 1 comment
Closed

[Security/Core] Add CustomUserMessageAccountStatusException #13632

fabpot opened this issue May 5, 2020 · 1 comment
Labels
Milestone

Comments

@fabpot
Copy link
Member

fabpot commented May 5, 2020

Q A
Feature PR symfony/symfony#36656
PR author(s) @VincentLanglet
Merged in 5.1-dev
@xabbuh xabbuh added the Security label May 5, 2020
@xabbuh xabbuh added this to the 5.1 milestone May 5, 2020
@wouterj
Copy link
Member

wouterj commented May 9, 2020

The best place to document this would be in https://symfony.com/doc/current/security/user_checkers.html . In the example the - not existing - AccountDeletedException line can be replaced with this new class. The "If one or more conditions are not met, an exception should be thrown which extends the AccountStatusException:" sentence above the example can then be tweaked to also mention this new exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants