1
0
Fork 0
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:
Henry Oswald 2014-09-04 18:07:31 +01:00
parent b875864568
commit 8762297158

View file

@ -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) ->