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:
commit
f20a1e7424
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue