mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 05:13:29 +00:00
revert: [PR-13659] remove 2FA timeout logging and fix attempts
This reverts two previous commits: - PM-13659 - 2FA Timeout Log All the things (#12275) - Auth/PM-13659 - 2FA Timeout - Attempted Fix (#12263)
This commit is contained in:
@@ -17,7 +17,6 @@ import {
|
||||
PinService,
|
||||
PinServiceAbstraction,
|
||||
UserDecryptionOptionsService,
|
||||
Executor,
|
||||
} from "@bitwarden/auth/common";
|
||||
import { EventCollectionService as EventCollectionServiceAbstraction } from "@bitwarden/common/abstractions/event/event-collection.service";
|
||||
import { EventUploadService as EventUploadServiceAbstraction } from "@bitwarden/common/abstractions/event/event-upload.service";
|
||||
@@ -615,11 +614,6 @@ export class ServiceContainer {
|
||||
this.configService,
|
||||
);
|
||||
|
||||
// Execute any authn session timeout logic without any wrapping logic.
|
||||
// An executor is required to ensure the logic is executed in an Angular context when it
|
||||
// it is available.
|
||||
const authnSessionTimeoutExecutor: Executor = (fn) => fn();
|
||||
|
||||
this.loginStrategyService = new LoginStrategyService(
|
||||
this.accountService,
|
||||
this.masterPasswordService,
|
||||
@@ -646,7 +640,6 @@ export class ServiceContainer {
|
||||
this.vaultTimeoutSettingsService,
|
||||
this.kdfConfigService,
|
||||
this.taskSchedulerService,
|
||||
authnSessionTimeoutExecutor,
|
||||
);
|
||||
|
||||
// FIXME: CLI does not support autofill
|
||||
|
||||
Reference in New Issue
Block a user