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