mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
webaccess: do not resave session
Before this change, the database was spammed with session values. Modern express-session has this baked in. See https://www.npmjs.com/package/express-session#resave for docs.
This commit is contained in:
parent
1f0058dd6f
commit
c2ea2b3a6d
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ exports.expressConfigure = function (hook_name, args, cb) {
|
|||
args.app.use(sessionModule({
|
||||
secret: exports.secret,
|
||||
store: args.app.sessionStore,
|
||||
resave: true,
|
||||
resave: false,
|
||||
saveUninitialized: true,
|
||||
name: 'express_sid',
|
||||
proxy: true,
|
||||
|
|
Loading…
Reference in a new issue