From 037e8943a859ce534a1a9f139eb8b67534ab0b89 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 11 Mar 2014 04:10:39 -0400 Subject: [PATCH] removed left over --- src/controllers/index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/controllers/index.js b/src/controllers/index.js index 3e94107268..7caec05855 100644 --- a/src/controllers/index.js +++ b/src/controllers/index.js @@ -184,10 +184,6 @@ Controllers.login = function(req, res, next) { Controllers.register = function(req, res, next) { - if (req.user) { - res.redirect('/'); - } - var data = {}, login_strategies = auth.get_login_strategies(), num_strategies = login_strategies.length;