Skip to content

Commit

Permalink
fixes sane#20 server error 500, undefined function
Browse files Browse the repository at this point in the history
  • Loading branch information
givanse committed May 19, 2015
1 parent c9beee3 commit 2ff29a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion generate/templates/server/api/controllers/AuthController.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ module.exports = {
},

logout: function(req, res) {
req.logout();
/*
TODO: revoke token
https://github.com/auth0/express-jwt/issues/77
*/
res.send({
success: true,
message: 'logoutSuccessful'
Expand Down

0 comments on commit 2ff29a2

Please sign in to comment.