mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -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)->
|
logout : (req, res)->
|
||||||
metrics.inc "user.logout"
|
metrics.inc "user.logout"
|
||||||
logger.log user: req?.session?.user, "logging out"
|
logger.log user: req?.session?.user, "logging out"
|
||||||
sessionId = "#{req.sessionID}"
|
sessionId = req.sessionID
|
||||||
user = req?.session?.user
|
user = req?.session?.user
|
||||||
req.session.destroy (err)->
|
req.session.destroy (err)->
|
||||||
if err
|
if err
|
||||||
|
|
Loading…
Reference in a new issue