mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
add early exit to native messaging flow for errors
This commit is contained in:
@@ -359,6 +359,12 @@ export class NativeMessagingBackground {
|
|||||||
cancelButtonText: null,
|
cancelButtonText: null,
|
||||||
type: "danger",
|
type: "danger",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Exit early
|
||||||
|
if (this.resolver) {
|
||||||
|
this.resolver(message);
|
||||||
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Verify key is correct by attempting to decrypt a secret
|
// Verify key is correct by attempting to decrypt a secret
|
||||||
|
|||||||
Reference in New Issue
Block a user