diff --git a/CHANGELOG.md b/CHANGELOG.md index 03888bca2a..8e39449002 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/src/containers/AuthenticationPage/AuthenticationPage.js b/src/containers/AuthenticationPage/AuthenticationPage.js index 5268e8092e..2f6f006a50 100644 --- a/src/containers/AuthenticationPage/AuthenticationPage.js +++ b/src/containers/AuthenticationPage/AuthenticationPage.js @@ -195,7 +195,7 @@ export class AuthenticationPageComponent extends Component { idpToken, idpId, ...authParams, - protectedData, + ...(!!protectedData && { protectedData }), }); };