Monday, October 18, 2010

Re: $_POST populated, but not $this->data

Nevermind folks - turned out to be an issue with userScope that I
didn't have configured properly.

On Oct 18, 7:59 pm, tekomp <btisch...@gmail.com> wrote:
> When trying to login to my app using auth component and form helper in
> 1.3.4, the password value is not being populated in $this->data for
> some reason, even though it's set in $_POST fine.  Here's debug from
> $_POST (first array) and $this->data:
>
> Array
> (
>     [_method] => POST
>     [data] => Array
>         (
>             [User] => Array
>                 (
>                     [username] => myusername
>                     [password] => password
>                 )
>
>         )
>
> )
>
> Array
> (
>     [User] => Array
>         (
>             [username] => myusername
>             [password] =>
>         )
>
> )
>
> The form is very basic with just these inputs:
>
> echo $form->input('username');
> echo $form->input('password');
>
> Any ideas?
>
> Thanks.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate