Cahnge token lifespan

This commit is contained in:
2025-10-05 17:24:01 +02:00
parent c092696a9a
commit f9b69be791
2 changed files with 1 additions and 3 deletions

View File

@@ -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, {