chore: JWT expira en 365 días (1 año)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-28 11:38:59 -05:00
co-authored by Claude Sonnet 4.6
parent 30588effec
commit 6da45ac9d1
+1 -1
View File
@@ -17,7 +17,7 @@ import { EmailOtpService } from './email-otp.service';
inject: [ConfigService],
useFactory: (config: ConfigService) => ({
secret: config.get<string>('JWT_SECRET') || 'dev-secret',
signOptions: { expiresIn: '90d' },
signOptions: { expiresIn: '365d' },
}),
}),
SmsModule,