Skip to content

Instantly share code, notes, and snippets.

@weaverryan
Last active March 23, 2016 18:32
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save weaverryan/42b03cd359c9e6074d45 to your computer and use it in GitHub Desktop.
Symfony: Showing the "Username not found" message on login
security:
# show the "Username not found" error message
# yep, that easy
hide_user_not_found: false
@Pierstoval
Copy link

WOW 👍

@shairyar
Copy link

I used to use translation to display a better message, will give this new idea a try.

@pborreli
Copy link

Reminder : it's bad for security purposes, do that only if you tried to convince your customer not to and he told you to stfu and do it already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment