Cahnge token lifespan
This commit is contained in:
@@ -47,7 +47,7 @@ export default async function routes(server: FastifyInstance) {
|
||||
tenant_id: body.tenant_id,
|
||||
},
|
||||
secrets.JWT_SECRET!,
|
||||
{ expiresIn: "3h" }
|
||||
{ expiresIn: "6h" }
|
||||
);
|
||||
|
||||
reply.setCookie("token", token, {
|
||||
|
||||
Reference in New Issue
Block a user