The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
chore: remove unused code
Navindu Amarakoonee5ce78c822f
diff --git a/apps/web/src/components/forms/signin.tsx b/apps/web/src/components/forms/signin.tsxindex 95dc6f9af..9694bd581 100644--- a/apps/web/src/components/forms/signin.tsx+++ b/apps/web/src/components/forms/signin.tsx@@ -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;diff --git a/packages/lib/next-auth/error-codes.ts b/packages/lib/next-auth/error-codes.tsindex f69206456..c3dfafece 100644--- a/packages/lib/next-auth/error-codes.ts+++ b/packages/lib/next-auth/error-codes.ts@@ -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;