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:
co-authored by
Claude Sonnet 4.6
parent
30588effec
commit
6da45ac9d1
@@ -17,7 +17,7 @@ import { EmailOtpService } from './email-otp.service';
|
|||||||
inject: [ConfigService],
|
inject: [ConfigService],
|
||||||
useFactory: (config: ConfigService) => ({
|
useFactory: (config: ConfigService) => ({
|
||||||
secret: config.get<string>('JWT_SECRET') || 'dev-secret',
|
secret: config.get<string>('JWT_SECRET') || 'dev-secret',
|
||||||
signOptions: { expiresIn: '90d' },
|
signOptions: { expiresIn: '365d' },
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
SmsModule,
|
SmsModule,
|
||||||
|
|||||||
Reference in New Issue
Block a user