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

Close 2fa window if redirected from sso login (#1480)

* Close 2fa window if redirected from sso login

This is a workaround until we can get browser extension sso to use the
toolbar popup.

other changes are linter autofixs

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
This commit is contained in:
Matt Gibson
2020-12-09 15:30:03 -06:00
committed by GitHub
parent a1542f050d
commit c95230fc48
5 changed files with 25 additions and 6 deletions

View File

@@ -10,4 +10,4 @@ window.addEventListener('message', (event) => {
referrer: event.source.location.hostname,
});
}
}, false)
}, false);