diff --git a/src/routes/index.js b/src/routes/index.js index 5d6871596..69bd22160 100644 --- a/src/routes/index.js +++ b/src/routes/index.js @@ -24,7 +24,7 @@ function mainRoutes(router, middleware, controllers) { router.get('/login', middleware.redirectToLogin, middleware.cache(5*60), middleware.redirectToDashboardIfLoggedIn); router.post('/login', controllers.main.loginPost); - router.get('/l2auth', middleware.checkUserHasL2Auth, middleware.cache(5*60), controllers.main.l2authget); + //router.get('/l2auth', middleware.checkUserHasL2Auth, middleware.cache(5*60), controllers.main.l2authget); router.get('/logout', controllers.main.logout); router.post('/forgotpass', controllers.main.forgotPass); router.get('/resetpassword/:hash', controllers.main.resetPass);