feat: register validation + create + admin improvements
This commit is contained in:
@@ -18,6 +18,13 @@ router.get('/logout', function (req, res) {
|
||||
res.redirect('/')
|
||||
})
|
||||
|
||||
/**
|
||||
* Register form
|
||||
*/
|
||||
router.get('/register', function (req, res, next) {
|
||||
res.render('register')
|
||||
})
|
||||
|
||||
/**
|
||||
* JWT Public Endpoints
|
||||
*/
|
||||
|
Reference in New Issue
Block a user