aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/controllers/users.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-05-14 15:06:43 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-05-14 15:06:43 +0200
commit31f3d649c65c841f7f961e8bc7879b71b8d2644b (patch)
tree50e8cf69035f96b6f1d3828aae7073d762e29b88 /controllers/users.js
parentadded local login (diff)
downloadDivid-31f3d649c65c841f7f961e8bc7879b71b8d2644b.tar.gz
added local login
Diffstat (limited to 'controllers/users.js')
-rw-r--r--controllers/users.js4
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');
+}
/**