mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-26 12:25:20 +01:00
only show hand off message on desktop (#7965)
This commit is contained in:
parent
8fb5ef3035
commit
b46eb274bb
@ -28,7 +28,9 @@ window.addEventListener("load", () => {
|
|||||||
window.postMessage({ command: "duoResult", code: code, state: state }, "*");
|
window.postMessage({ command: "duoResult", code: code, state: state }, "*");
|
||||||
processAndDisplayHandoffMessage();
|
processAndDisplayHandoffMessage();
|
||||||
} else if (client === "mobile" || client === "desktop") {
|
} else if (client === "mobile" || client === "desktop") {
|
||||||
processAndDisplayHandoffMessage();
|
if (client === "desktop") {
|
||||||
|
processAndDisplayHandoffMessage();
|
||||||
|
}
|
||||||
document.location.replace(
|
document.location.replace(
|
||||||
mobileDesktopCallback +
|
mobileDesktopCallback +
|
||||||
"?code=" +
|
"?code=" +
|
||||||
|
Loading…
Reference in New Issue
Block a user