You can't do this, since the recursive is set to -1 in the Auth
itself  (User->find() in identify method). I post a ticket about this
months ago, but it ended with "wont fix".
My work around is to "trick" a bit. I use my own method for Login and
if successful I call the login method of Auth by passing the user id.
When login is down by Auth I add merge the data with the Auth ones in
the session.

hth

On Apr 29, 4:52 am, Kyle Decot <[EMAIL PROTECTED]> wrote:
> Is there a way to do something like $this->Auth->recursive = 3; ? When
> I set my auth data, I would like to get additional information about
> my users e.g. all their posts, and comments etc.
>
> If I'm going about this the wrong way, please let me know of an
> alternative method.
>
> Thanks as always.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to