aboutsummaryrefslogtreecommitdiff
path: root/routes/user.js
diff options
context:
space:
mode:
authorkumar <kumar.damani@mail.utoronto.ca>2016-07-27 18:04:42 +0000
committerkumar <kumar.damani@mail.utoronto.ca>2016-07-27 18:04:42 +0000
commit11854aac96d07d7f1f428df693d349b0c38750eb (patch)
tree2dfbdf7dcc1be2b20589dd26914eb77ecbb1c536 /routes/user.js
parentdd90e9fbeef08b3f25c21e3e3725ce6b7d14ff7a (diff)
parent807b2b72e6b83339ecb4f5f23999ce8d22d9db46 (diff)
pull
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
Diffstat (limited to 'routes/user.js')
-rw-r--r--routes/user.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/routes/user.js b/routes/user.js
index 2b8453f..7c88ed4 100644
--- a/routes/user.js
+++ b/routes/user.js
@@ -158,7 +158,6 @@ router.get('/signin', loggedOut, function (req, res, next) {
});
});
-
/** Render/GET verification page. */
router.get('/verify', function(req, res, next) {
if (req.user.email) {
@@ -169,7 +168,6 @@ router.get('/verify', function(req, res, next) {
});
-
/** Retrieves infomation from the signup form, form validates and sends it to passport.js to authenticate. */
router.post('/signup', loggedOut, function(req, res, next) {
req.assert('fname', 'Please enter a valid first name.').notEmpty().withMessage('First name required.').isAlpha();
@@ -387,7 +385,6 @@ router.post('/solution/vote/:examID/:qID/:solID', function(req, res, next){
});
-
/**
* Retrieves information about the exam following button, redirects if there is an error, and shows an error alert
* if the user is not logged in.
@@ -416,9 +413,6 @@ router.post('/follow_exam/:examID',function (req, res) {
}
});
-
-
-
module.exports = router;
/************** Route protection ********************/