Skip to content

Commit

Permalink
[security][form login] fix translations for the security messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
aitboudad committed May 12, 2015
1 parent 3ebe1b2 commit 4f705b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/security/form_login_setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ Finally, create the template:
{# ... you will probably extends your base template, like base.html.twig #}

{% if error %}
<div>{{ error.messageKey|trans(error.messageData) }}</div>
<div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}

<form action="{{ path('login_check') }}" method="post">
Expand Down

0 comments on commit 4f705b3

Please sign in to comment.