mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
fix error (#15335)
This commit is contained in:
@@ -337,10 +337,9 @@ export class MembersComponent extends BaseMembersComponent<OrganizationUserView>
|
||||
if (
|
||||
await firstValueFrom(this.configService.getFeatureFlag$(FeatureFlag.CreateDefaultLocation))
|
||||
) {
|
||||
this.organizationUserService
|
||||
.confirmUser(this.organization, user, publicKey)
|
||||
.pipe(takeUntilDestroyed())
|
||||
.subscribe();
|
||||
await firstValueFrom(
|
||||
this.organizationUserService.confirmUser(this.organization, user, publicKey),
|
||||
);
|
||||
} else {
|
||||
const orgKey = await this.keyService.getOrgKey(this.organization.id);
|
||||
const key = await this.encryptService.encapsulateKeyUnsigned(orgKey, publicKey);
|
||||
|
||||
Reference in New Issue
Block a user