mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-20 04:39:20 +00:00
fix: default token expiration time
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
export default {
|
export default {
|
||||||
secret: process.env.JWT_SECRET || "mysecret",
|
secret: process.env.JWT_SECRET || "mysecret",
|
||||||
expiresIn: "15d",
|
expiresIn: "15m",
|
||||||
refreshSecret: process.env.JWT_REFRESH_SECRET || "myanothersecret",
|
refreshSecret: process.env.JWT_REFRESH_SECRET || "myanothersecret",
|
||||||
refreshExpiresIn: "7d"
|
refreshExpiresIn: "7d"
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user