removed the span size

v1.18.x
barisusakli 11 years ago
parent 21a4651a64
commit 1e96c21cae

@ -171,18 +171,7 @@ Controllers.login = function(req, res, next) {
num_strategies = login_strategies.length,
emailersPresent = plugins.hasListeners('action:email.send');
if (num_strategies === 0) {
data = {
'login_window:spansize': 'col-md-12',
'alternate_logins': false
};
} else {
data = {
'login_window:spansize': 'col-md-6',
'alternate_logins': true
};
}
data.alternate_logins = num_strategies > 0;
data.authentication = login_strategies;
data.token = res.locals.csrf_token;
data.showResetLink = emailersPresent;

Loading…
Cancel
Save