From 2bb89a42bac6d7a9d4d5afa1d5778a5245dde0d7 Mon Sep 17 00:00:00 2001 From: Alec Rippberger Date: Tue, 8 Oct 2024 21:27:32 -0500 Subject: [PATCH] Ensure Login with Passkey button is shown by setting clientType. --- .../auth/src/angular/login/default-login-component.service.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/auth/src/angular/login/default-login-component.service.ts b/libs/auth/src/angular/login/default-login-component.service.ts index 418dce1132..2003beaaf3 100644 --- a/libs/auth/src/angular/login/default-login-component.service.ts +++ b/libs/auth/src/angular/login/default-login-component.service.ts @@ -20,7 +20,9 @@ export class DefaultLoginComponentService implements LoginComponentService { protected passwordGenerationService: PasswordGenerationServiceAbstraction, protected platformUtilsService: PlatformUtilsService, protected ssoLoginService: SsoLoginServiceAbstraction, - ) {} + ) { + this.clientType = this.platformUtilsService.getClientType(); + } async getOrgPolicies(): Promise { return null;