up themes fix altenate_logins to be bool

This commit is contained in:
Barış Soner Uşaklı
2017-07-22 19:05:22 -04:00
parent e87f6f900f
commit 9d69224329
2 changed files with 3 additions and 3 deletions

View File

@@ -65,9 +65,9 @@
"nodebb-plugin-spam-be-gone": "0.5.0",
"nodebb-rewards-essentials": "0.0.9",
"nodebb-theme-lavender": "4.0.5",
"nodebb-theme-persona": "5.0.13",
"nodebb-theme-persona": "5.0.14",
"nodebb-theme-slick": "1.1.0",
"nodebb-theme-vanilla": "6.0.10",
"nodebb-theme-vanilla": "6.0.11",
"nodebb-widget-essentials": "3.0.1",
"nodemailer": "2.6.4",
"nodemailer-sendmail-transport": "1.0.0",

View File

@@ -158,7 +158,7 @@ Controllers.login = function (req, res, next) {
return next(err);
}
data.username = allowLoginWith === 'email' ? user.email : user.username;
data.alternate_logins = [];
data.alternate_logins = false;
res.render('login', data);
});
} else {