From 4f705b36fcd72eec98df305d39de69eb1113c22a Mon Sep 17 00:00:00 2001 From: Abdellatif Ait boudad Date: Tue, 12 May 2015 17:56:48 +0000 Subject: [PATCH] [security][form login] fix translations for the security messages. --- cookbook/security/form_login_setup.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/security/form_login_setup.rst b/cookbook/security/form_login_setup.rst index e16cafbceb1..0b053920039 100644 --- a/cookbook/security/form_login_setup.rst +++ b/cookbook/security/form_login_setup.rst @@ -221,7 +221,7 @@ Finally, create the template: {# ... you will probably extends your base template, like base.html.twig #} {% if error %} -
{{ error.messageKey|trans(error.messageData) }}
+
{{ error.messageKey|trans(error.messageData, 'security') }}
{% endif %}