diff --git a/apps/browser/src/auth/popup/login-via-auth-request-v1.component.ts b/apps/browser/src/auth/popup/login-via-auth-request-v1.component.ts index 66c69d0a41a..04a053bb613 100644 --- a/apps/browser/src/auth/popup/login-via-auth-request-v1.component.ts +++ b/apps/browser/src/auth/popup/login-via-auth-request-v1.component.ts @@ -13,6 +13,7 @@ import { AccountService } from "@bitwarden/common/auth/abstractions/account.serv import { AnonymousHubService } from "@bitwarden/common/auth/abstractions/anonymous-hub.service"; import { AuthService } from "@bitwarden/common/auth/abstractions/auth.service"; import { DeviceTrustServiceAbstraction } from "@bitwarden/common/auth/abstractions/device-trust.service.abstraction"; +import { InternalMasterPasswordServiceAbstraction } from "@bitwarden/common/auth/abstractions/master-password.service.abstraction"; import { AppIdService } from "@bitwarden/common/platform/abstractions/app-id.service"; import { CryptoFunctionService } from "@bitwarden/common/platform/abstractions/crypto-function.service"; import { EnvironmentService } from "@bitwarden/common/platform/abstractions/environment.service"; @@ -52,6 +53,7 @@ export class LoginViaAuthRequestComponentV1 extends BaseLoginViaAuthRequestCompo accountService: AccountService, private location: Location, toastService: ToastService, + masterPasswordService: InternalMasterPasswordServiceAbstraction, ) { super( router, @@ -73,6 +75,7 @@ export class LoginViaAuthRequestComponentV1 extends BaseLoginViaAuthRequestCompo authRequestService, loginStrategyService, toastService, + masterPasswordService, ); this.onSuccessfulLogin = async () => { await syncService.fullSync(true); diff --git a/apps/desktop/src/auth/login/login-via-auth-request-v1.component.ts b/apps/desktop/src/auth/login/login-via-auth-request-v1.component.ts index 30e693b9ac6..76b406a0d66 100644 --- a/apps/desktop/src/auth/login/login-via-auth-request-v1.component.ts +++ b/apps/desktop/src/auth/login/login-via-auth-request-v1.component.ts @@ -16,6 +16,7 @@ import { AccountService } from "@bitwarden/common/auth/abstractions/account.serv import { AnonymousHubService } from "@bitwarden/common/auth/abstractions/anonymous-hub.service"; import { AuthService } from "@bitwarden/common/auth/abstractions/auth.service"; import { DeviceTrustServiceAbstraction } from "@bitwarden/common/auth/abstractions/device-trust.service.abstraction"; +import { InternalMasterPasswordServiceAbstraction } from "@bitwarden/common/auth/abstractions/master-password.service.abstraction"; import { AppIdService } from "@bitwarden/common/platform/abstractions/app-id.service"; import { CryptoFunctionService } from "@bitwarden/common/platform/abstractions/crypto-function.service"; import { EnvironmentService } from "@bitwarden/common/platform/abstractions/environment.service"; @@ -62,6 +63,7 @@ export class LoginViaAuthRequestComponentV1 extends BaseLoginViaAuthRequestCompo accountService: AccountService, private location: Location, toastService: ToastService, + masterPasswordService: InternalMasterPasswordServiceAbstraction, ) { super( router, @@ -83,6 +85,7 @@ export class LoginViaAuthRequestComponentV1 extends BaseLoginViaAuthRequestCompo authRequestService, loginStrategyService, toastService, + masterPasswordService, ); this.onSuccessfulLogin = () => {