So I\'m reading the security chapter of Symfony2 Book. I understand everything, but I\'d like to customize the error message if a there is a login error.
In which fi
You can use translation. In parameters.ini set locale to your language and create message file. Then in twig template use:
parameters.ini
{% if error %} {{ error.message|trans({},'messages') }} {% endif %}