From 9d79bae1c87f3ebd4c39f8970d927b6b09d044b2 Mon Sep 17 00:00:00 2001 From: Daniel James Smith Date: Fri, 29 Oct 2021 18:50:55 +0200 Subject: [PATCH] When vault is locked also check for personal ownership policy --- src/background/notification.background.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/background/notification.background.ts b/src/background/notification.background.ts index bd8d0115aa..9dec74e248 100644 --- a/src/background/notification.background.ts +++ b/src/background/notification.background.ts @@ -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; }