maintenance commit

This commit is contained in:
Cassio Santos
2020-06-01 10:29:34 -03:00
parent 47f152a145
commit 4f3f1dd484
19 changed files with 926 additions and 293 deletions

View File

@@ -49,7 +49,7 @@ exports.login = async (req, res, next) => {
const token = jwt.sign(
{ email: loadedUser.email, userId: loadedUser.id },
"mysecret",
{ expiresIn: "1h" }
{ expiresIn: "24h" }
);
return res
.status(200)