Hi eDevil set DEBUG to 2, put pr ($user); die; in your controller after the find,
and you´ll see that you don´t need a subsequent query (unless you changed the recursive paramter in your User model). Incidentally in the 1.2 branch you can do $this->User->findByUsernameAndPassword ($username,$password) (PHP5) $this->User->findByUsername_and_password ($username,$password) (PHP4 or 5) HTH, AD7six --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
