@luxfi/core 4.4.7 → 4.4.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ const AuthListener = () => {
|
|
13
13
|
|
14
14
|
useEffect(() => {
|
15
15
|
const handleMessage = (event: any) => {
|
16
|
-
if (event.origin === process.env.
|
16
|
+
if (event.origin === process.env.NEXT_PUBLIC_LOGIN_SITE_URL) {
|
17
17
|
const token = event.data
|
18
18
|
auth.loginWithCustomToken(token)
|
19
19
|
}
|
package/package.json
CHANGED