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

$request->request->get('user')['password']['first'] = null #4

Open
Ragash opened this issue Jun 28, 2017 · 0 comments
Open

$request->request->get('user')['password']['first'] = null #4

Ragash opened this issue Jun 28, 2017 · 0 comments

Comments

@Ragash
Copy link

Ragash commented Jun 28, 2017

Hi! and Thanks for your hard work.

Im a newbie on symfony, and was following your book to learn some best practice.
i working on a windows machine, but i noticed that the result of this particular request is always null (at last for me)

i solved changing that line with:
$request->request->get('appbundle_user')['password']['first']

where appbundle_user is the hardcoded name of the form, written into UserType.php

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

No branches or pull requests

1 participant