1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

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

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;