fix(views): update static email update views

This commit is contained in:
Mrugesh Mohapatra
2018-05-26 00:31:21 +05:30
parent 59f700b110
commit 12b2c556ec
3 changed files with 3 additions and 11 deletions

View File

@@ -38,14 +38,6 @@ module.exports = function enableAuthentication(app) {
ifUserRedirect,
(req, res) => res.redirect(301, '/auth/auth0'));
router.get(
'/update-email',
ifNoUserRedirectHome,
(req, res) => res.render('account/update-email', {
title: 'Update your email'
})
);
router.get('/signout', (req, res) => {
req.logout();
req.session.destroy( (err) => {