This commit is contained in:
Yûki VACHOT 2021-10-29 23:54:19 +02:00
parent 5a64568824
commit a748b93133
7 changed files with 81 additions and 27 deletions

View file

@ -23,5 +23,8 @@ module.exports = app => {
// Authenticate a User
router.post("/auth", users.auth);
// Disconnect a User
router.delete("/auth/disconnect", users.disconnect);
app.use('/api/users', router);
};