Skip to content

Commit 545d8fd

Browse files
authored
hotfix login postmessage (#722)
1 parent 0360c59 commit 545d8fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/PopUpRedirect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const PopUpRedirect: React.FC = () => {
66
const params = window.location.search;
77
if (window.opener) {
88
// send them to the opening window
9-
window.opener.postMessage('',params);
9+
window.opener.postMessage(params, window.location.origin);
1010
// close the popup
1111
window.close();
1212
}

0 commit comments

Comments
 (0)