mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
No need to build extra string
This commit is contained in:
parent
8855d0fa0f
commit
6938f1d055
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ module.exports = UserController =
|
|||
logout : (req, res)->
|
||||
metrics.inc "user.logout"
|
||||
logger.log user: req?.session?.user, "logging out"
|
||||
sessionId = "#{req.sessionID}"
|
||||
sessionId = req.sessionID
|
||||
user = req?.session?.user
|
||||
req.session.destroy (err)->
|
||||
if err
|
||||
|
|
Loading…
Reference in a new issue