feat: register validation + create + admin improvements
This commit is contained in:
1 parent
17244a0cb3
commit
901dbb98e0
25 files changed
+668
-62
No files matched your search
@@ -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