mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
dont show SSO logins if its a confirmation screen
This commit is contained in:
@@ -128,6 +128,7 @@ Controllers.login = function(req, res, next) {
|
||||
return next(err);
|
||||
}
|
||||
data.username = allowLoginWith === 'email' ? user.email : user.username;
|
||||
data.alternate_logins = [];
|
||||
res.render('login', data);
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user