mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 20:29:17 +00:00
maintenance commit
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user