Ensure Login with Passkey button is shown by setting clientType.

This commit is contained in:
Alec Rippberger 2024-10-08 21:27:32 -05:00
parent 994e097eff
commit 2bb89a42ba
No known key found for this signature in database
GPG Key ID: 9DD8DA583B28154A
1 changed files with 3 additions and 1 deletions

View File

@ -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<PasswordPolicies | null> {
return null;