pass in session directly

v1.18.x
barisusakli 11 years ago
parent 78c977e8f6
commit 38494a2af0

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

Loading…
Cancel
Save