mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-22 16:29:09 +01:00
set keypair before creating hub connection for admin requests (#8898)
This commit is contained in:
parent
493b79b888
commit
b7957d6e28
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user