aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-05-15 11:40:26 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-05-15 11:40:26 +0200
commit7fd1af9b568442eaaa3a5337a8ee75fea8d4012c (patch)
tree52cc144e4b072408cb3a75c4edc78d3847e7cd6d
parentfacebookauth now logs profile to console (diff)
downloadDivid-7fd1af9b568442eaaa3a5337a8ee75fea8d4012c.tar.gz
added routes for registerEmail
-rw-r--r--routes.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/routes.js b/routes.js
index 00a328e..81d9da1 100644
--- a/routes.js
+++ b/routes.js
@@ -52,6 +52,9 @@ module.exports = function(app, passport, auth) {
app.get('/dashboard', auth.requiresLogin, system.dashboard);
+ app.get('/registerEmail', auth.requiresLogin, users.registerEmail);
+
+ app.post('/registerEmail', auth.requiresLogin, users.postRegisterEmail);
app.get('/project', auth.requiresLogin, system.project);