1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

When vault is locked also check for personal ownership policy

This commit is contained in:
Daniel James Smith
2021-10-29 18:50:55 +02:00
parent ad1653ec3f
commit 9d79bae1c8

View File

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