closes #4714 We cannot set null expiration dates for api keys. So we will set to 100 years instead of null. If apiKey expires in more that 10 years, it is displayed as "Never expires"
2 lines
48 B
TypeScript
2 lines
48 B
TypeScript
export const NEVER_EXPIRE_DELTA_IN_YEARS = 100;
|