Skip to content

Commit 485f3ad

Browse files
author
sachin-maheshwari
authored
Merge pull request #298 from topcoder-platform/feat/redirect-to-ret-url
feat: redirect to ret url
2 parents 90dda14 + 8a85b79 commit 485f3ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-assets/js/setupAuth0WithRedirect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ const authSetup = function () {
319319
if (showOnboardingWizard) {
320320
logger('Take user to onboarding wizard', showOnboardingWizard);
321321
if (showOnboardingWizard === 'useRetUrl') {
322-
setCookie('returnAfterOnboard', qs['appUrl'] || qs['retUrl']) // TODO: use localStorage instead?
322+
setCookie('returnAfterOnboard', qs['appUrl'] || qs['retUrl'])
323323
}
324324
redirectToOnboardingWizard(returnAppUrl);
325325
}

0 commit comments

Comments
 (0)