mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
express-session: Extend session lifetime if user is active
This commit is contained in:
parent
9c1f52f1b0
commit
692749d1cf
9 changed files with 68 additions and 10 deletions
|
@ -323,6 +323,7 @@ exports.cookie = {
|
|||
*/
|
||||
sameSite: 'Lax',
|
||||
sessionLifetime: 10 * 24 * 60 * 60 * 1000,
|
||||
sessionRefreshInterval: 1 * 24 * 60 * 60 * 1000,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue