From b188e01f60d2ed8a2ee890ed03e229d6c3217f0e Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Mon, 4 Nov 2024 19:36:01 +0100 Subject: read flash messages on login page --- src/jwebmail/templates/login.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/jwebmail') 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 + {% with messages = get_flashed_messages() %} + {% if messages %} + {% for message in messages %} +

+ {{ message }} +

+ {% endfor %} + {% endif %} + {% endwith %} + {% if login_form.errors %}
-- cgit v1.2.3