mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user