Hi and thanks for the help.
The request data is coming from the login form, which is just the
passcode field and a submit button:
<?php
echo $this->Form->create('User', array('action' => 'login'));
echo $this->Form->input('passcode');
echo $this->Form->end("Submit");
?>
So it seems to me that the login is taking place, but the $user object
returned by the login only contains the parameters I used to log in
with. Is this 'passed through' from the request data or is this the
user object returned by the AuthComponent login function? I'm sure
all this work work out of the box if I were using a username/password
combo rather than just a 'passcode' and no user name needed . . . It
all looks very straightforward in the video, just need to get past
this hurdle.
thanks again!
On Dec 16, 11:46 am, Geoff Douglas <[email protected]> wrote:
> What data is contained in $this -> request -> data that you are passing
> in to the Auth->login() method?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php