mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
fix error (#15335)
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user