Skip to content

Commit

Permalink
Merge pull request keepassxreboot#2114 from keepassxreboot/fix/passke…
Browse files Browse the repository at this point in the history
…ys_invalid_error

Passkeys: Fixes invalid error message related to Resident Keys
  • Loading branch information
varjolintu authored Feb 8, 2024
2 parents fb2eff8 + 5cc8cc8 commit b0a9ed5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions keepassxc-browser/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@
"message": "Invalid URL provided.",
"description": "Invalid URL provided."
},
"errorMessagePasskeysResidentKeyNotSupported": {
"message": "Resident Keys are not supported.",
"description": "Resident Keys are not supported."
"errorMessagePasskeysNonResidentKeysNotSupported": {
"message": "Non-Resident Keys are not supported.",
"description": "Non-Resident Keys are not supported."
},
"errorNotConnected": {
"message": "Not connected to KeePassXC.",
Expand Down
2 changes: 1 addition & 1 deletion keepassxc-browser/background/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const kpErrors = {
23: { msg: tr('errorMessagePasskeysInvalidUserVerification') },
24: { msg: tr('errorMessagePasskeysEmptyPublicKey') },
25: { msg: tr('errorMessagePasskeysInvalidUrlProvided') },
26: { msg: tr('errorMessagePasskeysResidentKeyNotSupported') },
26: { msg: tr('errorMessagePasskeysNonResidentKeysNotSupported') },
},

getError(errorCode) {
Expand Down

0 comments on commit b0a9ed5

Please sign in to comment.