Skip to content

Commit

Permalink
Remove extra param from signInWithShortLivedToken
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-marcellini committed May 2, 2022
1 parent 908a938 commit 4c65e1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/LogInWithShortLivedTokenPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 4c65e1e

Please sign in to comment.