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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user