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:
@@ -20,7 +20,9 @@ export class DefaultLoginComponentService implements LoginComponentService {
|
|||||||
protected passwordGenerationService: PasswordGenerationServiceAbstraction,
|
protected passwordGenerationService: PasswordGenerationServiceAbstraction,
|
||||||
protected platformUtilsService: PlatformUtilsService,
|
protected platformUtilsService: PlatformUtilsService,
|
||||||
protected ssoLoginService: SsoLoginServiceAbstraction,
|
protected ssoLoginService: SsoLoginServiceAbstraction,
|
||||||
) {}
|
) {
|
||||||
|
this.clientType = this.platformUtilsService.getClientType();
|
||||||
|
}
|
||||||
|
|
||||||
async getOrgPolicies(): Promise<PasswordPolicies | null> {
|
async getOrgPolicies(): Promise<PasswordPolicies | null> {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user