mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-08 10:33:17 +00:00
touch the session rather than setting the expires, same result
This commit is contained in:
parent
b875864568
commit
8762297158
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ app.configure () ->
|
|||
|
||||
# Measure expiry from last request, not last login
|
||||
app.use (req, res, next) ->
|
||||
req.session.expires = Date.now() + cookieSessionLength
|
||||
req.session.touch()
|
||||
next()
|
||||
|
||||
app.use (req, res, next) ->
|
||||
|
|
Loading…
Add table
Reference in a new issue