1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-21 16:18:28 +01: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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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);
}