diff --git a/webinterface.py b/webinterface.py
index 6bae6a394..b6e1fcfb3 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -3381,9 +3381,8 @@ def htmlProfile(iconsAsButtons: bool, defaultTimeline: str,
iconsDir = getIconsDir(baseDir)
if not authorized:
- loginButton = '
'
# the links button to show left column links
- loginButton += \
+ loginButton = \
'