1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00
This commit is contained in:
Brandon Treston
2025-06-26 11:11:07 -04:00
committed by GitHub
parent 963688b17e
commit 4d0ad3310e

View File

@@ -337,10 +337,9 @@ export class MembersComponent extends BaseMembersComponent<OrganizationUserView>
if ( if (
await firstValueFrom(this.configService.getFeatureFlag$(FeatureFlag.CreateDefaultLocation)) await firstValueFrom(this.configService.getFeatureFlag$(FeatureFlag.CreateDefaultLocation))
) { ) {
this.organizationUserService await firstValueFrom(
.confirmUser(this.organization, user, publicKey) this.organizationUserService.confirmUser(this.organization, user, publicKey),
.pipe(takeUntilDestroyed()) );
.subscribe();
} else { } else {
const orgKey = await this.keyService.getOrgKey(this.organization.id); const orgKey = await this.keyService.getOrgKey(this.organization.id);
const key = await this.encryptService.encapsulateKeyUnsigned(orgKey, publicKey); const key = await this.encryptService.encapsulateKeyUnsigned(orgKey, publicKey);