1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00

Merge pull request #2153 from bitwarden/check-for-personal-ownership-when-vault-is-locked

When vault is locked also check for personal ownership policy
This commit is contained in:
Daniel James Smith
2021-11-02 12:20:57 +01:00
committed by GitHub

View File

@@ -192,6 +192,10 @@ export default class NotificationBackground {
}
if (await this.vaultTimeoutService.isLocked()) {
if (!await this.allowPersonalOwnership()) {
return;
}
this.pushAddLoginToQueue(loginDomain, loginInfo, tab, true);
return;
}
@@ -206,7 +210,7 @@ export default class NotificationBackground {
return;
}
if (!(await this.allowPersonalOwnership())) {
if (!await this.allowPersonalOwnership()) {
return;
}