aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/controllers/users.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-05-24 18:01:23 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-05-24 18:01:23 +0200
commit794a54482900c0e83fa17d738ac16ad265e1ac05 (patch)
treebbe3fe9cb3dbcb72019a048a42756e167caf7df9 /controllers/users.js
parentfixed small bug in 4cec8e5 (diff)
downloadDivid-794a54482900c0e83fa17d738ac16ad265e1ac05.tar.gz
removed some logging and changed a redirect
Diffstat (limited to 'controllers/users.js')
-rw-r--r--controllers/users.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/users.js b/controllers/users.js
index 371dae6..86cbd35 100644
--- a/controllers/users.js
+++ b/controllers/users.js
@@ -41,7 +41,7 @@ exports.login = function(req, res) {
*/
exports.logout = function(req, res) {
req.logout();
- res.redirect('/test');
+ res.redirect('/');
}