1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00:00

set keypair before creating hub connection for admin requests (#8898)

This commit is contained in:
Jake Fink
2024-04-24 11:19:10 -04:00
committed by GitHub
parent 493b79b888
commit b7957d6e28

View File

@@ -221,7 +221,8 @@ export class LoginViaAuthRequestComponent
}
// Request still pending response from admin
// So, create hub connection so that any approvals will be received via push notification
// set keypair and create hub connection so that any approvals will be received via push notification
this.authRequestKeyPair = { privateKey: adminAuthReqStorable.privateKey, publicKey: null };
await this.anonymousHubService.createHubConnection(adminAuthReqStorable.id);
}