diff options
-rw-r--r-- | accounts/templates/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/templates/base.html b/accounts/templates/base.html index dbb3d0b..db6f741 100644 --- a/accounts/templates/base.html +++ b/accounts/templates/base.html @@ -33,7 +33,7 @@ {%- if not no_login_message %} <nav id="usermenu"> <ul> - {%- if current_user.is_authenticated %} + {%- if current_user.is_authenticated() %} <li>Angemeldet als <strong>{{ current_user.uid }}</strong></li> {%- if current_user.uid in config.get('ADMIN_USERS', []) %} <li><a href="{{ url_for('admin.index') }}">Admin</a></li> |