From 38494a2af07bfbd562ee62c7686760a9facef1fd Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 2 Jul 2014 15:15:06 -0400 Subject: [PATCH] pass in session directly --- src/database/redis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/redis.js b/src/database/redis.js index 078f0a54d6..0becf2ba9e 100644 --- a/src/database/redis.js +++ b/src/database/redis.js @@ -40,7 +40,7 @@ module.init = function(callback) { try { redis = require('redis'); - connectRedis = require('connect-redis')({session: session}); + connectRedis = require('connect-redis')(session); reds = require('reds'); } catch (err) { winston.error('Unable to initialize Redis! Is Redis installed? Error :' + err.message);