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:
@@ -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;
|
||||||
}
|
}
|
||||||
@@ -206,7 +210,7 @@ export default class NotificationBackground {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(await this.allowPersonalOwnership())) {
|
if (!await this.allowPersonalOwnership()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user