mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +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);
|
return next(err);
|
||||||
}
|
}
|
||||||
data.username = allowLoginWith === 'email' ? user.email : user.username;
|
data.username = allowLoginWith === 'email' ? user.email : user.username;
|
||||||
|
data.alternate_logins = [];
|
||||||
res.render('login', data);
|
res.render('login', data);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user