[SOLVED] cookie store
-
app.use(session({ store: db.sessionStore, secret: nconf.get('secret'), key: nconf.get('sessionKey'), cookie: setupCookie(), resave: nconf.get('sessionResave') || false, saveUninitialized: nconf.get('sessionSaveUninitialized') || false, }));
The default is already off, you can put
sessionSaveUninitialized: false
in your config.json to make sure.
Copyright © 2024 NodeBB | Contributors