diff --git a/generate/templates/server/api/controllers/AuthController.js b/generate/templates/server/api/controllers/AuthController.js index e11e289..fa1c5b1 100644 --- a/generate/templates/server/api/controllers/AuthController.js +++ b/generate/templates/server/api/controllers/AuthController.js @@ -80,7 +80,6 @@ module.exports = { }, logout: function(req, res) { - req.logout(); res.send({ success: true, message: 'logoutSuccessful'