mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
This reverts commit ca8628880b.
This commit is contained in:
@@ -42,7 +42,6 @@ import { ELECTRON_SUPPORTS_SECURE_STORAGE } from "./platform/services/electron-p
|
||||
import { ElectronStateService } from "./platform/services/electron-state.service";
|
||||
import { ElectronStorageService } from "./platform/services/electron-storage.service";
|
||||
import { I18nMainService } from "./platform/services/i18n.main.service";
|
||||
import { IllegalSecureStorageService } from "./platform/services/illegal-secure-storage-service";
|
||||
import { ElectronMainMessagingService } from "./services/electron-main-messaging.service";
|
||||
|
||||
export class Main {
|
||||
@@ -148,14 +147,11 @@ export class Main {
|
||||
|
||||
this.environmentService = new EnvironmentService(stateProvider, accountService);
|
||||
|
||||
// Note: secure storage service is not available and should not be called in the main background process.
|
||||
const illegalSecureStorageService = new IllegalSecureStorageService();
|
||||
|
||||
this.tokenService = new TokenService(
|
||||
singleUserStateProvider,
|
||||
globalStateProvider,
|
||||
ELECTRON_SUPPORTS_SECURE_STORAGE,
|
||||
illegalSecureStorageService,
|
||||
this.storageService,
|
||||
);
|
||||
|
||||
this.migrationRunner = new MigrationRunner(
|
||||
|
||||
Reference in New Issue
Block a user