diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 52be70e4b..87f49b8f2 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -3384,7 +3384,7 @@ define([ } options.push({ tag: 'hr' }); // Add login or logout button depending on the current status - if (accountName) { + if (priv.loggedIn) { options.push({ tag: 'a', attributes: {