Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.

Commit 73fe63e

Browse files
committed
force clearing cookie on leaving fleet.
1 parent f360f51 commit 73fe63e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

server/controllers/fleet.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ exports.leave = function(req, res, next){
8787

8888
req.sessionStore.destroy( sid, function(err) {
8989
delete req.session;
90+
res.clearCookie(settings.session_name);
9091
})
9192

9293
Member.findOneQ({key: key})

0 commit comments

Comments
 (0)