Skip to content

Commit

Permalink
Merge pull request #222 from EdgeApp/sam/invalid-credentials
Browse files Browse the repository at this point in the history
Change invalid password message semantic to invalid credentials
  • Loading branch information
samholmes authored Nov 1, 2024
2 parents dabafb4 + e4cd7fe commit 0f1a08e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- changed: Changed semantics for invalid password login error message: "Invalid username or password"

## 3.22.5 (2024-10-17)

- fixed: `NewAccountTosScene` confirm button obscures text on some devices
Expand Down
2 changes: 1 addition & 1 deletion src/common/locales/strings/enUS.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"hide_account_info": "Hide account information",
"initiate_password_recovery": "Enter Recovery Token. You can find the recovery token in an email that was sent from yourself if password recovery was setup prior to losing access.",
"invalid_account": "Account does not exist",
"invalid_password": "Invalid password",
"invalid_credentials": "Invalid username or password",
"invalid_pin": "Invalid PIN",
"it_would_take_xx_to_crack": "It would take %s to crack your password",
"keypad_eight": "8",
Expand Down
2 changes: 1 addition & 1 deletion src/components/scenes/PasswordLoginScene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export const PasswordLoginScene = (props: Props) => {
)
)
} else {
setPasswordErrorMessage(lstrings.invalid_password)
setPasswordErrorMessage(lstrings.invalid_credentials)
}
return
}
Expand Down

0 comments on commit 0f1a08e

Please sign in to comment.