Passkeys: Fixes invalid error message related to Resident Keys

This commit is contained in:
varjolintu 2024-02-08 09:05:25 +02:00
parent fb2eff8495
commit 5cc8cc8020
2 changed files with 4 additions and 4 deletions

View file

@ -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.",

View file

@ -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) {