From eb0e7c9ba1a2ee79218e5dcd311e410cc7c231e5 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 20 Nov 2023 09:35:53 +0100 Subject: [PATCH] Fix error on not authenticated users --- app/templates/_base/navbar.html.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/templates/_base/navbar.html.j2 b/app/templates/_base/navbar.html.j2 index 282bc9e0..4cb27d06 100644 --- a/app/templates/_base/navbar.html.j2 +++ b/app/templates/_base/navbar.html.j2 @@ -12,8 +12,12 @@
  • emailNews
  • + {% if current_user.is_authenticated %} avatar {{ current_user.username }} ({{ current_user.email }}) + {% else %} + more_vert + {% endif %}