Skip to content

Node.js based forum software built for the modern web

removed the span size

barisusakli1e96c21caeed
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;