Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Registration form and validation #412
It's a registration form, why would the password have to be
I think this is totally legit, especially considering how auto-mapping was made in the first place.
The password could be updated/hashed with an event listener or something, or the use of a DTO could be encouraged in order to avoid such issue.
This should be "fixed" now, in a sense. We've disabled (via the recipe) the auto-mapping feature by default in Symfony 4.3: https://github.com/symfony/recipes/pull/612/files - the auto mapping was causing this problem, and it needs a bit more work so we can work around situations like this.