diff --git a/src/constants/messages.ts b/src/constants/messages.ts index e586794b..273dee87 100644 --- a/src/constants/messages.ts +++ b/src/constants/messages.ts @@ -28,6 +28,7 @@ export const FAILURE_MESSAGES = { ORPHAN_SESSION: 'ORPHAN_SESSION', DATABASE_ERROR: 'DATABASE_ERROR', UNEXPECTED_ERROR: 'UNEXPECTED_ERROR', + EMAIL_ALREADY_TAKEN: 'EMAIL_ALREADY_TAKEN', FILE_IS_NOT_IMAGE: 'FILE_IS_NOT_IMAGE', diff --git a/src/langs/en/messages.json b/src/langs/en/messages.json index f4c00114..15432497 100644 --- a/src/langs/en/messages.json +++ b/src/langs/en/messages.json @@ -27,6 +27,7 @@ "ORPHAN_SESSION": "Your session has expired", "DATABASE_ERROR": "An unexpected error occurred at the database level", "UNEXPECTED_ERROR": "An unexpected error occurred", + "EMAIL_ALREADY_TAKEN": "This email is already taken", "STORAGE_EXCEEDED": "You exceeded your allowed file storage", "FILE_SIZE_NOT_FOUND": "The file size could not be calculated",