1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

Implemented feedback

This commit is contained in:
Matt Smith
2020-08-14 15:20:16 -05:00
parent 2d56510f0e
commit 3b560fca22
4 changed files with 24 additions and 48 deletions

View File

@@ -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