1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

Directly set clientType in individual login component services.

This commit is contained in:
Alec Rippberger
2024-10-09 18:54:53 -05:00
parent 6d980bfadd
commit 982da467b4
4 changed files with 7 additions and 3 deletions

View File

@@ -20,9 +20,7 @@ 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;