diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-14 15:06:43 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-14 15:06:43 +0200 |
commit | 31f3d649c65c841f7f961e8bc7879b71b8d2644b (patch) | |
tree | 50e8cf69035f96b6f1d3828aae7073d762e29b88 /controllers/users.js | |
parent | added local login (diff) | |
download | Divid-31f3d649c65c841f7f961e8bc7879b71b8d2644b.tar.gz |
added local login
Diffstat (limited to 'controllers/users.js')
-rw-r--r-- | controllers/users.js | 4 |
1 files changed, 3 insertions, 1 deletions
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'); +} /** |