mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
Implemented feedback
This commit is contained in:
@@ -2,9 +2,9 @@ window.addEventListener("message", function(event) {
|
||||
if (event.source != window)
|
||||
return;
|
||||
|
||||
if (event.data.type && (event.data.type == "AUTH_RESULT")) {
|
||||
if (event.data.command && (event.data.command == "authResult")) {
|
||||
chrome.runtime.sendMessage({
|
||||
type: event.data.type,
|
||||
command: event.data.command,
|
||||
code: event.data.code,
|
||||
state: event.data.state,
|
||||
referrer: event.source.location.hostname
|
||||
|
||||
Reference in New Issue
Block a user