diff --git a/webinterface.py b/webinterface.py
index 6bae6a39..b6e1fcfb 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 = \
'