From 4c65e1edd803d1d40e0a16c3c52dc51ead31d51f Mon Sep 17 00:00:00 2001 From: Neil Marcellini Date: Mon, 2 May 2022 09:39:14 -0700 Subject: [PATCH] Remove extra param from signInWithShortLivedToken --- src/pages/LogInWithShortLivedTokenPage.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/LogInWithShortLivedTokenPage.js b/src/pages/LogInWithShortLivedTokenPage.js index 60648e934814..4b4e778d8b38 100644 --- a/src/pages/LogInWithShortLivedTokenPage.js +++ b/src/pages/LogInWithShortLivedTokenPage.js @@ -36,11 +36,10 @@ const defaultProps = { class LogInWithShortLivedTokenPage extends Component { componentDidMount() { - const accountID = lodashGet(this.props.route.params, 'accountID', ''); const email = lodashGet(this.props.route.params, 'email', ''); const shortLivedToken = lodashGet(this.props.route.params, 'shortLivedToken', ''); Log.info('[LoginWithShortLivedTokenPage] signing in the transitioning user'); - Session.signInWithShortLivedToken(accountID, email, shortLivedToken); + Session.signInWithShortLivedToken(email, shortLivedToken); } render() {