Skip to content

Commit

Permalink
logout should redirect to mountPath
Browse files Browse the repository at this point in the history
  • Loading branch information
hdngr committed Nov 4, 2015
1 parent 0552068 commit 83db31c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Strategy {
delete req.session.isLoggedIn;
var message = "You've been successfully logged out!"
req.session.message.success.push(message);
res.redirect('/');
res.redirect(req.app.locals.appPath);
}
};

Expand Down

0 comments on commit 83db31c

Please sign in to comment.