From ea4f7c06f392fa21de24a58af776973fa4642f14 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 13 Oct 2020 11:02:36 +0100 Subject: [PATCH] Don't show login button for system accounts --- webinterface.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webinterface.py b/webinterface.py index 0e822083e..e739f2909 100644 --- a/webinterface.py +++ b/webinterface.py @@ -3339,9 +3339,10 @@ def htmlProfile(defaultTimeline: str, donateSection += '\n' if not authorized: - loginButton = \ - '
' + if not isSystemAccount(nickname): + loginButton = \ + '
' else: editProfileStr = \ '