Open aonanam opened 7 years ago
Well here's how you can logout, essentially all you need to do is add a link to /logout
and add a snippet of code similar to this into the nodejs application.
app.get('/logout', function(req, res){
req.logout();
res.redirect('/');
});
At the moment, you can only logout from the profile page, which takes a few pages to get to.