chore: remove unused code

This commit is contained in:
Navindu Amarakoon
2023-12-09 11:48:46 +05:30
parent 3b3987dcf8
commit ee5ce78c82
2 changed files with 0 additions and 2 deletions

View File

@ -24,7 +24,6 @@ const ERROR_MESSAGES: Partial<Record<keyof typeof ErrorCode, string>> = {
'This account appears to be using a social login method, please sign in using that method',
[ErrorCode.INCORRECT_TWO_FACTOR_CODE]: 'The two-factor authentication code provided is incorrect',
[ErrorCode.INCORRECT_TWO_FACTOR_BACKUP_CODE]: 'The backup code provided is incorrect',
[ErrorCode.SIGNUP_DISABLED]: 'Creating new accounts is currently disabled',
};
const TwoFactorEnabledErrorCode = ErrorCode.TWO_FACTOR_MISSING_CREDENTIALS;

View File

@ -19,5 +19,4 @@ export const ErrorCode = {
INCORRECT_PASSWORD: 'INCORRECT_PASSWORD',
MISSING_ENCRYPTION_KEY: 'MISSING_ENCRYPTION_KEY',
MISSING_BACKUP_CODE: 'MISSING_BACKUP_CODE',
SIGNUP_DISABLED: 'SIGNUP_DISABLED',
} as const;