Skip to content

Commit

Permalink
Add email sending error code.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlkuesters committed Dec 10, 2023
1 parent 026a56a commit 596d977
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/interfaces/error-code.enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export enum ErrorCode {
BAD_REQUEST = 'BAD_REQUEST',
EMAIL_ALREADY_EXISTS = 'EMAIL_ALREADY_EXISTS',
EMAIL_NOT_CONFIRMED = 'EMAIL_NOT_CONFIRMED',
EMAIL_NOT_SENT = 'EMAIL_NOT_SENT',
LOGIN_ALREADY_EXISTS = 'LOGIN_ALREADY_EXISTS',
TOO_MANY_EMAIL_REQUESTS = 'TOO_MANY_EMAIL_REQUESTS',
USER_NOT_FOUND = 'USER_NOT_FOUND',
Expand Down
1 change: 1 addition & 0 deletions src/assets/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"EMAIL": "E-Mail",
"EMAIL_ALREADY_EXISTS": "E-Mail existiert bereits",
"EMAIL_NOT_CONFIRMED": "E-Mail nicht bestätigt",
"EMAIL_NOT_SENT": "E-Mail konnte nicht gesendet werden",
"FEATURED": "Empfohlen",
"FORGOT_PASSWORD": "Passwort vergessen?",
"HOME": "Home",
Expand Down
1 change: 1 addition & 0 deletions src/assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"EMAIL": "E-Mail",
"EMAIL_ALREADY_EXISTS": "E-Mail already exists",
"EMAIL_NOT_CONFIRMED": "E-Mail not confirmed",
"EMAIL_NOT_SENT": "E-Mail could not be sent",
"FEATURED": "Featured",
"FORGOT_PASSWORD": "Forgot your password?",
"HOME": "Home",
Expand Down

0 comments on commit 596d977

Please sign in to comment.