From 7fd1af9b568442eaaa3a5337a8ee75fea8d4012c Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Wed, 15 May 2013 11:40:26 +0200 Subject: added routes for registerEmail --- routes.js | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3