mirror of https://gitlab.com/bashrc2/epicyon
Don't show login button for system accounts
parent
95146b15eb
commit
ea4f7c06f3
|
@ -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>'
|
||||||
|
|
Loading…
Reference in New Issue