Don't show login button for system accounts

main
Bob Mottram 2020-10-13 11:02:36 +01:00
parent 95146b15eb
commit ea4f7c06f3
1 changed files with 4 additions and 3 deletions

View File

@ -3339,6 +3339,7 @@ def htmlProfile(defaultTimeline: str,
donateSection += '</div>\n' donateSection += '</div>\n'
if not authorized: if not authorized:
if not isSystemAccount(nickname):
loginButton = \ loginButton = \
'<br><a href="/login"><button class="loginButton">' + \ '<br><a href="/login"><button class="loginButton">' + \
translate['Login'] + '</button></a>' translate['Login'] + '</button></a>'