diff --git a/src/ROUTES.js b/src/ROUTES.js index e09bb4e8498..5e613866927 100644 --- a/src/ROUTES.js +++ b/src/ROUTES.js @@ -67,7 +67,7 @@ export default { getReportDetailsRoute: reportID => `r/${reportID}/details`, VALIDATE_LOGIN: 'v', VALIDATE_LOGIN_WITH_VALIDATE_CODE: 'v/:accountID/:validateCode', - LOGIN_WITH_SHORT_LIVED_TOKEN: 'transition/:accountID/:email/:shortLivedToken/:encryptedAuthToken/:exitTo', + LOGIN_WITH_SHORT_LIVED_TOKEN: 'transition', // This is a special validation URL that will take the user to /workspace/new after validation. This is used // when linking users from e.com in order to share a session in this app. diff --git a/src/libs/Navigation/NavigationRoot.js b/src/libs/Navigation/NavigationRoot.js index 6c1c58fd8ba..ad516ebf0f5 100644 --- a/src/libs/Navigation/NavigationRoot.js +++ b/src/libs/Navigation/NavigationRoot.js @@ -32,7 +32,7 @@ class NavigationRoot extends Component { const path = getPathFromState(state, linkingConfig.config); // Don't log the route transitions from OldDot because they contain authTokens - if (path.includes('/transition/')) { + if (path.includes('/transition')) { Log.info('Navigating from transition link from OldDot using short lived authToken'); } else { Log.info('Navigating to route', false, {path});