mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
[deps] Autofill: Update prettier to v3 (#7014)
* [deps] Autofill: Update prettier to v3 * prettier formatting updates --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
This commit is contained in:
@@ -42,23 +42,23 @@ export class PasswordRepromptComponent {
|
||||
protected platformUtilsService: PlatformUtilsService,
|
||||
protected i18nService: I18nService,
|
||||
protected formBuilder: FormBuilder,
|
||||
protected dialogRef: DialogRef
|
||||
protected dialogRef: DialogRef,
|
||||
) {}
|
||||
|
||||
submit = async () => {
|
||||
const storedMasterKey = await this.cryptoService.getOrDeriveMasterKey(
|
||||
this.formGroup.value.masterPassword
|
||||
this.formGroup.value.masterPassword,
|
||||
);
|
||||
if (
|
||||
!(await this.cryptoService.compareAndUpdateKeyHash(
|
||||
this.formGroup.value.masterPassword,
|
||||
storedMasterKey
|
||||
storedMasterKey,
|
||||
))
|
||||
) {
|
||||
this.platformUtilsService.showToast(
|
||||
"error",
|
||||
this.i18nService.t("errorOccurred"),
|
||||
this.i18nService.t("invalidMasterPassword")
|
||||
this.i18nService.t("invalidMasterPassword"),
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user