signin/signup is now working. no checks tho
This commit is contained in:
@@ -16,6 +16,7 @@ verifyToken = (req, res, next) => {
|
||||
return res.status(401).send({ message: "non autorisé lol" });
|
||||
}
|
||||
req.userId = decoded.id;
|
||||
req.userName = decoded.name;
|
||||
next();
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user