mirror of
https://github.com/bitwarden/browser
synced 2026-02-13 06:54:07 +00:00
Implement synced unlock
This commit is contained in:
@@ -167,6 +167,7 @@ import {
|
||||
DefaultKeyService as KeyService,
|
||||
BiometricStateService,
|
||||
DefaultBiometricStateService,
|
||||
DefaultSyncedUnlockStateService,
|
||||
} from "@bitwarden/key-management";
|
||||
import { NodeCryptoFunctionService } from "@bitwarden/node/services/node-crypto-function.service";
|
||||
import {
|
||||
@@ -733,6 +734,7 @@ export class ServiceContainer {
|
||||
);
|
||||
|
||||
const biometricService = new CliBiometricsService();
|
||||
const syncedUnlockStateService = new DefaultSyncedUnlockStateService(this.stateProvider);
|
||||
|
||||
this.vaultTimeoutService = new DefaultVaultTimeoutService(
|
||||
this.accountService,
|
||||
@@ -750,6 +752,7 @@ export class ServiceContainer {
|
||||
this.taskSchedulerService,
|
||||
this.logService,
|
||||
biometricService,
|
||||
syncedUnlockStateService,
|
||||
lockedCallback,
|
||||
undefined,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user