mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
up themes fix altenate_logins to be bool
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user