mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-17 01:31:25 +01:00
not locked
This commit is contained in:
parent
c37a52be85
commit
3e996ae9ad
@ -185,7 +185,8 @@ export class NotificationsService implements NotificationsServiceAbstraction {
|
|||||||
|
|
||||||
private async isAuthedAndUnlocked() {
|
private async isAuthedAndUnlocked() {
|
||||||
if (await this.userService.isAuthenticated()) {
|
if (await this.userService.isAuthenticated()) {
|
||||||
return this.lockService.isLocked();
|
const locked = await this.lockService.isLocked();
|
||||||
|
return !locked;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user