Hello, I just started working with your framework. But there seems to be problems with setting up the custom session stores, have you tried the connect-mongo or connect-redis ? Could you also provide some examples, how the store config should be ?
In the config/session.js you option for passing the session store but, like in connect-mongo you need to have also the instance of session.
var session = require('express-session');
var MongoStore = require('connect-mongo')(session);
app.use(session({
secret: settings.cookie_secret,
store: new MongoStore({
db : settings.db,
})
}));
Currently the store option is passed forward but its never called:
Hello, I just started working with your framework. But there seems to be problems with setting up the custom session stores, have you tried the connect-mongo or connect-redis ? Could you also provide some examples, how the store config should be ?
In the config/session.js you option for passing the session store but, like in connect-mongo you need to have also the instance of session.
Currently the store option is passed forward but its never called: