destroy session when getting project details
This commit is contained in:
@@ -10,4 +10,6 @@ module.exports =
|
||||
if err?
|
||||
logger.log err:err, project_id:project_id, "something went wrong getting project details"
|
||||
return res.send 500
|
||||
res.json(projDetails)
|
||||
req.session.destroy()
|
||||
res.json(projDetails)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user