Skip to content

Commit

Permalink
[update] server
Browse files Browse the repository at this point in the history
  • Loading branch information
romelperez committed Nov 19, 2016
1 parent 1bd86a6 commit b2996ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/server/pages/logout.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export default {
'/logout': {
get (req, res) {
req.session = null;
res.redirect('/');
}
}
};

0 comments on commit b2996ef

Please sign in to comment.