Hi,
I have a User model, which belongsTo a Group model. When using the
user model itself, I get the correct association data for the Group
model, but when using the Auth component, then I only get the User
model itself in the auth session array, e.g.:
[Auth] => Array
(
[User] => Array
(
[id] => 2
[username] => admin
[group_id] => 1
)
)
whereas I would expect something like:
[Auth] => Array
(
[User] => Array
(
[id] => 2
[username] => admin
[group_id] => 1
)
[Group] => Array
(
[id] => 1
[name] => Admins
)
)
Is the Auth component ignoring the User model associations?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---