From d4bce7491a6b15c3df1a388eff3756f197b7c94b Mon Sep 17 00:00:00 2001 From: Gregoo Date: Sat, 18 Jan 2025 21:03:16 +0100 Subject: [PATCH] Do not use current_user to check if authenticated, go through the LoginManager class --- templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index e0da3fd..2985f46 100644 --- a/templates/base.html +++ b/templates/base.html @@ -38,7 +38,7 @@ {% endfor %} {% if g.login.is_enabled() %} - {% if current_user.is_authenticated %} + {% if g.login.is_authenticated() %} Authenticated {% else %} Read-only