From c59f7c86dbff1db2b7a5ca9a4894d94560ddb3ba Mon Sep 17 00:00:00 2001 From: isra el Date: Wed, 18 Oct 2023 12:12:31 +0300 Subject: [PATCH] chore(api): update jwt expiry --- api/src/auth/auth.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/auth/auth.module.ts b/api/src/auth/auth.module.ts index 9c5dd4b..a381b3d 100644 --- a/api/src/auth/auth.module.ts +++ b/api/src/auth/auth.module.ts @@ -20,7 +20,7 @@ import { ApiKey, ApiKeySchema } from './schemas/api-key.schema' PassportModule, JwtModule.register({ secret: process.env.JWT_SECRET, - signOptions: { expiresIn: '30d' }, + signOptions: { expiresIn: '180d' }, }), ], controllers: [AuthController],