1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

[PM-22419] dismiss account nudge when biometric unlock is set (#15139)

* update account-security-nudge service to look at biomentricUnlockEnabled$ observable, add success toast for biometric unlock
This commit is contained in:
Jason Ng
2025-06-17 14:47:10 -04:00
committed by GitHub
parent 05b34e9d00
commit 71bc68444d
4 changed files with 69 additions and 10 deletions

View File

@@ -5062,6 +5062,9 @@
"unlockPinSet": {
"message": "Unlock PIN set"
},
"unlockBiometricSet": {
"message": "Unlock biometrics set"
},
"authenticating": {
"message": "Authenticating"
},

View File

@@ -534,6 +534,11 @@ export class AccountSecurityComponent implements OnInit, OnDestroy {
if (!successful) {
await this.biometricStateService.setFingerprintValidated(false);
}
this.toastService.showToast({
variant: "success",
title: null,
message: this.i18nService.t("unlockBiometricSet"),
});
} catch (error) {
this.form.controls.biometric.setValue(false);
this.validationService.showError(error);