summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2024-11-04 19:36:01 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2024-11-04 19:36:01 +0100
commitb188e01f60d2ed8a2ee890ed03e229d6c3217f0e (patch)
tree36718d03b16e25ac790826b9829de74662208f69 /src
parenta2cca19e4f39620b6674fb6cbbe3287a49eec5c5 (diff)
read flash messages on login page
Diffstat (limited to 'src')
-rw-r--r--src/jwebmail/templates/login.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/jwebmail/templates/login.html b/src/jwebmail/templates/login.html
index d73238d..b905629 100644
--- a/src/jwebmail/templates/login.html
+++ b/src/jwebmail/templates/login.html
@@ -11,6 +11,16 @@
JWebmail
</h2>
+ {% with messages = get_flashed_messages() %}
+ {% if messages %}
+ {% for message in messages %}
+ <p class="notification is-info">
+ {{ message }}
+ </p>
+ {% endfor %}
+ {% endif %}
+ {% endwith %}
+
{% if login_form.errors %}
<div class="message is-warning">
<div class=message-header>