1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

[PM-3722] Use UserVerificationPrompt in passkey registration dialog (#6422)

* [PM-3722] fix: wrong translation bug

* [PM-3722] feat: use user verification component during creation

* [PM-3722] feat: use user verification component during deletion

* [PM-3722] feat: improve error handling
This commit is contained in:
Andreas Coroiu
2023-11-01 09:26:41 +01:00
committed by GitHub
parent 22a138a46f
commit 317d652088
6 changed files with 41 additions and 40 deletions

View File

@@ -51,8 +51,8 @@ export class UserVerificationComponent implements ControlValueAccessor, OnInit,
return {
invalidSecret: {
message: this.hasMasterPassword
? this.i18nService.t("incorrectCode")
: this.i18nService.t("incorrectPassword"),
? this.i18nService.t("incorrectPassword")
: this.i18nService.t("incorrectCode"),
},
};
}