refactor: cleanup
This commit is contained in:
1 parent
8d74c48b7b
commit
30ce9c8670
6 files changed
+20
-17
No files matched your search
@@ -34,7 +34,7 @@ const bruteforce = new ExpressBrute(EBstore, {
|
||||
* Login form
|
||||
*/
|
||||
router.get('/login', function (req, res, next) {
|
||||
res.render('auth/login')
|
||||
res.render('pages/login')
|
||||
})
|
||||
|
||||
router.post('/login', bruteforce.prevent, function (req, res, next) {
|
||||
|
||||
Reference in new issue
Block a user