Translate error message in login page

Fix #2933
This commit is contained in:
adev 2017-05-06 22:21:04 +02:00
parent 6603a9d649
commit f3c300e485

View file

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