up themes fix altenate_logins to be bool

This commit is contained in:
Barış Soner Uşaklı
2017-07-22 19:05:22 -04:00
parent e87f6f900f
commit 9d69224329
2 changed files with 3 additions and 3 deletions

View File

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