Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter post data on registration #229

Merged
merged 2 commits into from
May 12, 2020

Conversation

michalsn
Copy link
Contributor

We should filter data we pass to the User entity during registration since otherwise someone could send additional POST data like active and bypass the need of the account activation.

Copy link
Collaborator

@MGatner MGatner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yikes, that’s a great point. This is an urgent security issue @lonnieezell, can we get a hotfix release?

@lonnieezell
Copy link
Owner

@michalsn Good catch. Thanks! Once my one comment has been addressed I'll merge and release a new beta.

@MGatner The only catch is that a recent change requires an app to use the dev branch of CI4 to work, but I'll make the changelog so that they know how to fix the critical bug on their own if they cannot upgrade.

@lonnieezell
Copy link
Owner

@michalsn Nice add with the personalFields. I had forgotten about those. Merging.

@lonnieezell lonnieezell merged commit bbfb03f into lonnieezell:develop May 12, 2020
@michalsn michalsn deleted the filter_data_on_register branch May 15, 2020 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants