feat: add cooldown to refresh token security (#1736)

This commit is contained in:
Jérémy M
2023-09-27 15:03:50 +02:00
committed by GitHub
parent 96865b0fec
commit a4cde44b13
5 changed files with 30 additions and 13 deletions

View File

@ -76,6 +76,9 @@ export class EnvironmentVariables {
@IsDuration()
@IsOptional()
REFRESH_TOKEN_EXPIRES_IN: string;
@IsDuration()
@IsOptional()
REFRESH_TOKEN_COOL_DOWN: string;
@IsString()
LOGIN_TOKEN_SECRET: string;