1
0
mirror of https://github.com/bitwarden/jslib synced 2026-01-03 00:53:13 +00:00

[bug] Change || to && in recent vault timeout refactor

This commit is contained in:
addison
2021-11-11 13:35:16 -05:00
parent e9e1b05a8c
commit 2b6302366c

View File

@@ -59,7 +59,7 @@ export class VaultTimeoutService implements VaultTimeoutServiceAbstraction {
}
for (const userId in this.stateService.accounts.getValue()) {
if (userId != null || await this.shouldLock(userId)) {
if (userId != null && await this.shouldLock(userId)) {
this.executeTimeoutAction(userId);
}
}