From 1e96c21caeeda6d3c142fb06497edaf4bef48882 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 8 Apr 2014 16:48:13 -0400 Subject: [PATCH] removed the span size --- src/controllers/index.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/controllers/index.js b/src/controllers/index.js index ca48aaf051..b78e05bb2b 100644 --- a/src/controllers/index.js +++ b/src/controllers/index.js @@ -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;