mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
[PM-2135] feat: allow user verification to show invalid password error
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
<span bitDialogTitle>{{ modalTitle | i18n }}</span>
|
||||
<ng-container bitDialogContent>
|
||||
<p bitTypography="body1">{{ confirmDescription | i18n }}</p>
|
||||
<app-user-verification formControlName="secret"> </app-user-verification>
|
||||
<app-user-verification
|
||||
[(invalidSecret)]="invalidSecret"
|
||||
formControlName="secret"
|
||||
></app-user-verification>
|
||||
</ng-container>
|
||||
<ng-container bitDialogFooter>
|
||||
<button type="submit" bitButton bitFormButton buttonType="primary">Save</button>
|
||||
|
||||
@@ -8,7 +8,6 @@ import { I18nService } from "@bitwarden/common/abstractions/i18n.service";
|
||||
import { PlatformUtilsService } from "@bitwarden/common/abstractions/platformUtils.service";
|
||||
import { UserVerificationService } from "@bitwarden/common/abstractions/userVerification/userVerification.service.abstraction";
|
||||
|
||||
|
||||
import { DialogServiceAbstraction } from "../../../../../../libs/angular/src/services/dialog";
|
||||
|
||||
export interface UserVerificationPromptParams {
|
||||
|
||||
@@ -2658,6 +2658,12 @@
|
||||
"failedLogin2fa": {
|
||||
"message": "Login attempt failed with incorrect two-step login."
|
||||
},
|
||||
"incorrectPassword": {
|
||||
"message": "Incorrect password"
|
||||
},
|
||||
"incorrectCode": {
|
||||
"message": "Incorrect code"
|
||||
},
|
||||
"exportedVault": {
|
||||
"message": "Vault exported"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user