AccountStatus.ts
1 /* 2 TODO : implement various statuses 3 - RequireValidation - add secondary validation requirement for logging in 4 - IPRestricted - add IP check for IP mask/address (account variable) that should not be used for logging in 5 - TimeRestricted - add check for allowed time (account variable for cron expression) to login 6 - Unavailable - permanent ban, log audit log entry for when account was accessed and from which IP 7 */ 8 export const enum AccountStatus { 9 Normal, 10 RequireValidation, 11 IPRestricted, 12 TimeRestricted, 13 Unavailable 14 }