Skip to content

Commit

Permalink
fix: update password messages (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh authored Jul 25, 2024
1 parent 3182217 commit a6e75e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/constants/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ export const FAILURE_MESSAGES = {
'Please enter a new password different from your current one',
PASSWORD_CONFIRM_ERROR:
'Please make sure "New Password" matches "Confirm password"',
PASSWORD_NOT_DEFINED_ERROR: 'PASSWORD_NOT_DEFINED_ERROR',
PASSWORD_CONFLICT_ERROR: 'PASSWORD_CONFLICT_ERROR',

// short links
SHORT_LINK_ALREADY_EXISTS: 'SHORT_LINK_ALREADY_EXISTS',
Expand Down
2 changes: 2 additions & 0 deletions src/langs/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@
"PASSWORD_WEAK_ERROR": "The new password is not strong enough",
"PASSWORD_EQUAL_ERROR": "Please enter a new password different from your current one",
"PASSWORD_CONFIRM_ERROR": "Please make sure the new password matches the confirmation",
"PASSWORD_NOT_DEFINED_ERROR": "Password is not defined",
"PASSWORD_CONFLICT_ERROR": "A password already exists, please update the password instead of creating a new one.",
"INVALID_PASSWORD": "Current password is invalid. Please try again",
"EMPTY_CURRENT_PASSWORD": "You forgot to input your current password. Please try again",
"REQUEST_MESSAGES_IMPORT_ZIP": "The ZIP file is being processed. Please wait a moment.",
Expand Down

0 comments on commit a6e75e9

Please sign in to comment.