This commit is contained in:
2025-09-02 18:47:44 +02:00
parent 97a095b422
commit 7c4272ffe9
8 changed files with 319 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ export default async function routes(server: FastifyInstance) {
tenant_id: body.tenant_id,
},
process.env.JWT_SECRET!,
{ expiresIn: "1h" }
{ expiresIn: "3h" }
);
reply.setCookie("token", token, {