diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-15 11:40:26 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-15 11:40:26 +0200 |
commit | 7fd1af9b568442eaaa3a5337a8ee75fea8d4012c (patch) | |
tree | 52cc144e4b072408cb3a75c4edc78d3847e7cd6d /routes.js | |
parent | facebookauth now logs profile to console (diff) | |
download | Divid-7fd1af9b568442eaaa3a5337a8ee75fea8d4012c.tar.gz |
added routes for registerEmail
Diffstat (limited to 'routes.js')
-rw-r--r-- | routes.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |