-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[Security] Custom authentication error messages #5736
Copy link
Copy link
Closed
Labels
SecurityhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Milestone
Description
Starting with Symfony 2.8, we can easily throw an AuthenticationException in the Security subsystem with a custom error message thanks to the new CustomUserMessageAuthenticationException (see symfony/symfony#15882).
It must be made clear that the message configured here is likely to be shown to the user, so no sensitive information should be included in this message.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
SecurityhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.