From 02b977340790d72d6ea2ff24401fcd4a9c673478 Mon Sep 17 00:00:00 2001 From: Amos Haviv Date: Wed, 12 Feb 2014 18:46:15 +0200 Subject: [PATCH] Fixing Passport Split --- config/passport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/passport.js b/config/passport.js index 4dbff5f6..a931afc0 100755 --- a/config/passport.js +++ b/config/passport.js @@ -22,6 +22,6 @@ module.exports = function() { // Initialize strategies utilities.walk('./config/strategies', /(.*)\.(js$|coffee$)/).forEach(function(strategyPath) { - require(path.resolve(strategyPath)); + require(path.resolve(strategyPath))(); }); }; \ No newline at end of file