From e1c56731a11c6ba27fc6635b9a4048071a2696e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20I=2E=20Silva?= Date: Tue, 19 May 2015 00:28:44 -0500 Subject: [PATCH] fixes #20 server error 500, undefined function --- generate/templates/server/api/controllers/AuthController.js | 1 - 1 file changed, 1 deletion(-) 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'