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
1 changed files with 2 additions and 1 deletions

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