mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
PM-1440 Fix showing multiple warnings (#5021)
This commit is contained in:
@@ -167,7 +167,7 @@ export class ChangePasswordComponent implements OnInit, OnDestroy {
|
|||||||
if (!result) {
|
if (!result) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
if (weakPassword) {
|
if (weakPassword) {
|
||||||
const result = await this.platformUtilsService.showDialog(
|
const result = await this.platformUtilsService.showDialog(
|
||||||
this.i18nService.t("weakMasterPasswordDesc"),
|
this.i18nService.t("weakMasterPasswordDesc"),
|
||||||
@@ -192,6 +192,8 @@ export class ChangePasswordComponent implements OnInit, OnDestroy {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user