From 31f3d649c65c841f7f961e8bc7879b71b8d2644b Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 14 May 2013 15:06:43 +0200 Subject: added local login --- controllers/users.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'controllers/users.js') diff --git a/controllers/users.js b/controllers/users.js index 4b952f8..0b9e99d 100644 --- a/controllers/users.js +++ b/controllers/users.js @@ -30,7 +30,9 @@ exports.logout = function(req, res) { * Signin * This is triggered when the user post to /login */ -exports.signin = function(req, res) {} +exports.signin = function(req, res) { + res.redirect('/dashboard'); +} /** -- cgit v1.2.3