Skip to content

Commit

Permalink
Merge pull request #1370 from sharetribe/fix-passing-value-if-protect…
Browse files Browse the repository at this point in the history
…ed-data-empty

Fix passing value if protected data empty
  • Loading branch information
OtterleyW authored Oct 16, 2020
2 parents 0410136 + 1232637 commit 7feaa1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ way to update this template, but currently, we follow a pattern:

## Upcoming version 2020-XX-XX

- [fix] Don't pass protected data key through `ConfirmSignupForm` if protected data is empty.
[#1370](https://github.com/sharetribe/ftw-daily/pull/1370)
- [add] Update French translation file (Spanish and German translations have still missing keys).
[#1369](https://github.com/sharetribe/ftw-daily/pull/1369)
- [fix] Pass additional values from `ConfirmSignupForm` forward as user's protected data.
Expand Down
2 changes: 1 addition & 1 deletion src/containers/AuthenticationPage/AuthenticationPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export class AuthenticationPageComponent extends Component {
idpToken,
idpId,
...authParams,
protectedData,
...(!!protectedData && { protectedData }),
});
};

Expand Down

0 comments on commit 7feaa1a

Please sign in to comment.