nuevo mensaje token

This commit is contained in:
Tu Nombre
2025-01-30 10:37:57 -06:00
parent c547f25a0a
commit 87c311c0c8
4 changed files with 65 additions and 5 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ const verificaToken = (req, res, next) => {
if (!token)
return res.status(400).json({
message: 'No se envio el token.',
message: 'No se envio el token. v2',
});
jwt.verify(token, process.env.KEY, (err, decoded) => {
if (err) {