mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 01:56:12 +01:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
@@ -159,7 +159,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