mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-07 23:55:12 -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
|
@ -6,7 +6,8 @@
|
|||
* `express_sid` cookies and `sessionstorage:*` database records are no longer
|
||||
created unless `requireAuthentication` is `true` (or a plugin causes them to
|
||||
be created).
|
||||
* Login sessions now have a finite lifetime by default (10 days).
|
||||
* Login sessions now have a finite lifetime by default (10 days after
|
||||
leaving).
|
||||
* `sessionstorage:*` database records are automatically deleted when the login
|
||||
session expires (with some exceptions that will be fixed in the future).
|
||||
* Requests for static content (e.g., `/robots.txt`) and special pages (e.g.,
|
||||
|
@ -47,7 +48,7 @@
|
|||
### Compatibility changes
|
||||
|
||||
* The default login session expiration (applicable if `requireAuthentication` is
|
||||
`true`) changed from never to 10 days.
|
||||
`true`) changed from never to 10 days after the user leaves.
|
||||
|
||||
#### For plugin authors
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue