diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2024-11-04 19:36:01 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2024-11-04 19:36:01 +0100 |
commit | b188e01f60d2ed8a2ee890ed03e229d6c3217f0e (patch) | |
tree | 36718d03b16e25ac790826b9829de74662208f69 /src/jwebmail/templates | |
parent | a2cca19e4f39620b6674fb6cbbe3287a49eec5c5 (diff) |
read flash messages on login page
Diffstat (limited to 'src/jwebmail/templates')
-rw-r--r-- | src/jwebmail/templates/login.html | 10 |
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> |