dont show SSO logins if its a confirmation screen

This commit is contained in:
barisusakli
2016-05-16 14:22:07 +03:00
parent b3fa5583f8
commit a4031df9b2

View File

@@ -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 {