mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
added some logging in for sessions
This commit is contained in:
parent
187e87a978
commit
ca402a3061
1 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,9 @@ app.configure () ->
|
|||
secure: Settings.secureCookie
|
||||
store: sessionStore
|
||||
key: cookieKey
|
||||
app.use (req, res, next)->
|
||||
console.log req.session, req.url, "session log"
|
||||
next()
|
||||
|
||||
# Measure expiry from last request, not last login
|
||||
app.use (req, res, next) ->
|
||||
|
|
Loading…
Reference in a new issue