mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-03 22:29:01 +02:00
touch the session rather than setting the expires, same result
This commit is contained in:
@@ -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) ->
|
||||
|
||||
Reference in New Issue
Block a user