ZF-Commons/ZfcUser — pull request #356 by bertrandgauthier (2013-09-19 12:01:41+00:00)
Title: User controller login action : searching 'redirect' param in POST data too

Hi!
The 'redirect' param should be searched in POST data too.
Follow this :
- Open login page URL with a 'redirect' GET param.
- An hidden field is created with the value of the 'redirect' param, ok.
- Submit invalid form data (without password for example).
- The 'redirect' GET param disappear because the form METHOD in "login.phtml" view script is `$this->url('zfcuser/login')` (without GET param).
- Yes, the hidden field is well POSTed but not checked by the user controller login action, so the 'redirect' param is lost forever!
Regards.