abmp-npm 10.0.48 → 10.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pages/LoadingPage.js +1 -0
package/package.json
CHANGED
package/pages/LoadingPage.js
CHANGED
|
@@ -14,6 +14,7 @@ async function loadingPageOnReady(authenticateSSOToken) {
|
|
|
14
14
|
console.error(`Something went wrong while logging in: ${error}`);
|
|
15
15
|
// If we already have a session (memberId), redirect to form instead of showing error.
|
|
16
16
|
const storedMemberId = await local.getItem('memberId');
|
|
17
|
+
console.log('storedMemberId', storedMemberId);
|
|
17
18
|
if (storedMemberId) {
|
|
18
19
|
const redirectTo = `${PAGES_PATHS.MEMBERS_FORM}?token=${encodeURIComponent(storedMemberId)}`;
|
|
19
20
|
await wixLocationFrontend.to(`/${redirectTo}`);
|