mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 00:46:16 -04:00
express-session: Set a finite cookie lifetime
This commit is contained in:
parent
ec10700dff
commit
023e58cfe6
4 changed files with 27 additions and 1 deletions
|
@ -322,6 +322,7 @@ exports.cookie = {
|
|||
* https://stackoverflow.com/q/41841880 for discussion.
|
||||
*/
|
||||
sameSite: 'Lax',
|
||||
sessionLifetime: 10 * 24 * 60 * 60 * 1000,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue