PM-1440 Fix showing multiple warnings (#5021)

This commit is contained in:
Carlos Gonçalves 2023-03-17 13:21:34 +00:00 committed by GitHub
parent c94508ccf2
commit 0bada56b82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 23 deletions

View File

@ -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;
} }