mirror of
https://github.com/bitwarden/browser
synced 2026-02-22 12:24:01 +00:00
fix(auth-request-answering): Updated structure of default and web auth request to make more sense.
This commit is contained in:
@@ -28,17 +28,6 @@ export class WebAuthRequestAnsweringService
|
||||
);
|
||||
}
|
||||
|
||||
async receivedPendingAuthRequest(
|
||||
authRequestUserId: UserId,
|
||||
authRequestId: string,
|
||||
): Promise<void> {
|
||||
this.messagingService.send("openLoginApproval", {
|
||||
// Include the authRequestId so the DeviceManagementComponent can upsert the correct device.
|
||||
// This will only matter if the user is on the /device-management screen when the auth request is received.
|
||||
notificationId: authRequestId,
|
||||
});
|
||||
}
|
||||
|
||||
async activeUserMeetsConditionsToShowApprovalDialog(authRequestUserId: UserId): Promise<boolean> {
|
||||
throw new Error(
|
||||
"activeUserMeetsConditionsToShowApprovalDialog() not implemented for this client",
|
||||
|
||||
Reference in New Issue
Block a user