Skip to content

Commit b6a357a

Browse files
CopilotKnerio
andcommitted
Add missing email_verification_send_failed error code
Co-authored-by: Knerio <96529060+Knerio@users.noreply.github.com>
1 parent 5a06083 commit b6a357a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/services/error_code.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def self.error_codes
3232
totp_secret_already_set: { description: 'This user already has TOTP set up' },
3333
wrong_totp: { description: 'Invalid TOTP code provided' },
3434
invalid_verification_code: { description: 'Invalid verification code provided' },
35+
email_verification_send_failed: { description: 'Failed to send the email verification' },
3536
unmodifiable_field: { description: 'The user is not permitted to modify this field' },
3637
failed_to_invalidate_old_backup_codes: { description: 'The old backup codes could not be deleted' },
3738
failed_to_save_valid_backup_code: { description: 'The new backup codes could not be saved' },

docs/graphql/enum/errorcodeenum.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Represents the available error responses
1111
| `CANNOT_MODIFY_OWN_ADMIN` | Users cannot modify their own admin status |
1212
| `CANNOT_REMOVE_LAST_ADMINISTRATOR` | This action would remove the last administrator |
1313
| `CANNOT_REMOVE_LAST_ADMIN_ABILITY` | This action would remove the last administrative ability |
14+
| `EMAIL_VERIFICATION_SEND_FAILED` | Failed to send the email verification |
1415
| `EXTERNAL_IDENTITY_DOES_NOT_EXIST` | This external identity does not exist |
1516
| `FAILED_TO_INVALIDATE_OLD_BACKUP_CODES` | The old backup codes could not be deleted |
1617
| `FAILED_TO_RESET_PASSWORD` | Failed to reset the user password |

0 commit comments

Comments
 (0)