refactor: views consolidation + css fixes

This commit is contained in:
Nicolas Giard
2018-08-11 18:16:56 -04:00
parent a78c6505f0
commit 453c1beab3
47 changed files with 189 additions and 1055 deletions

View File

@@ -34,7 +34,7 @@ const bruteforce = new ExpressBrute(EBstore, {
* Login form
*/
router.get('/login', function (req, res, next) {
res.render('main/login')
res.render('login')
})
router.post('/login', bruteforce.prevent, function (req, res, next) {