mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
up themes fix altenate_logins to be bool
This commit is contained in:
@@ -65,9 +65,9 @@
|
|||||||
"nodebb-plugin-spam-be-gone": "0.5.0",
|
"nodebb-plugin-spam-be-gone": "0.5.0",
|
||||||
"nodebb-rewards-essentials": "0.0.9",
|
"nodebb-rewards-essentials": "0.0.9",
|
||||||
"nodebb-theme-lavender": "4.0.5",
|
"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-slick": "1.1.0",
|
||||||
"nodebb-theme-vanilla": "6.0.10",
|
"nodebb-theme-vanilla": "6.0.11",
|
||||||
"nodebb-widget-essentials": "3.0.1",
|
"nodebb-widget-essentials": "3.0.1",
|
||||||
"nodemailer": "2.6.4",
|
"nodemailer": "2.6.4",
|
||||||
"nodemailer-sendmail-transport": "1.0.0",
|
"nodemailer-sendmail-transport": "1.0.0",
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ Controllers.login = function (req, res, next) {
|
|||||||
return next(err);
|
return next(err);
|
||||||
}
|
}
|
||||||
data.username = allowLoginWith === 'email' ? user.email : user.username;
|
data.username = allowLoginWith === 'email' ? user.email : user.username;
|
||||||
data.alternate_logins = [];
|
data.alternate_logins = false;
|
||||||
res.render('login', data);
|
res.render('login', data);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user