diff --git a/routes/routes.mts b/routes/routes.mts index 7a5e88e..6f15649 100644 --- a/routes/routes.mts +++ b/routes/routes.mts @@ -12,10 +12,7 @@ router.post("/signup", user: req.user }) }) -// router.post("/login", passport.authenticate('local'), -// function(req, res) { -// res.json({ res }) -// }) + router.post( '/login', async (req, res, next) => {