mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-31 11:02:29 +00:00
Merge pull request #3090 from aaa2000/translate-login-page-error
Translate error message in login page
This commit is contained in:
commit
f2beee5185
1 changed files with 1 additions and 1 deletions
|
@ -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') %}
|
||||||
|
|
Loading…
Reference in a new issue