Merge pull request #3090 from aaa2000/translate-login-page-error

Translate error message in login page
This commit is contained in:
Nicolas Lœuillet 2017-05-07 14:00:41 +02:00 committed by GitHub
commit f2beee5185

View file

@ -5,7 +5,7 @@
<div class="card-content">
{% if error %}
<script>Materialize.toast('{{ error.message }}', 4000)</script>
<script>Materialize.toast('{{ error.messageKey|trans(error.messageData, 'security') }}', 4000)</script>
{% endif %}
{% for flashMessage in app.session.flashbag.get('notice') %}