use loggedIn instead of accountName in the toolbar

pull/1/head
ansuz 5 years ago
parent e3042c94d8
commit 6f7307c446

@ -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: {

Loading…
Cancel
Save