mirror of https://gitlab.com/bashrc2/epicyon
Don't show login button for system accounts
parent
95146b15eb
commit
ea4f7c06f3
|
@ -3339,9 +3339,10 @@ def htmlProfile(defaultTimeline: str,
|
|||
donateSection += '</div>\n'
|
||||
|
||||
if not authorized:
|
||||
loginButton = \
|
||||
'<br><a href="/login"><button class="loginButton">' + \
|
||||
translate['Login'] + '</button></a>'
|
||||
if not isSystemAccount(nickname):
|
||||
loginButton = \
|
||||
'<br><a href="/login"><button class="loginButton">' + \
|
||||
translate['Login'] + '</button></a>'
|
||||
else:
|
||||
editProfileStr = \
|
||||
'<a href="' + usersPath + \
|
||||
|
|
Loading…
Reference in New Issue