You can do this if you write your own login() method. Have a look at this Bakery article:
http://bakery.cakephp.org/articles/view/simple-form-authentication-in-1-2-x-x 2009/4/7 Faza <[email protected]>: > > Hello! > > I've noticed, that by default, Auth loads and saves to Session every > field from the users model, except the field designated as the one with > password. > In my case, the user model contains fields which I don't want to be > stored in session. > > I've read the AuthComponent API, but so far it is a bit over the top for > me, so I need your help guys. > > Also, is it possible to make Auth (or ACL?? dunno) component to load > also users group from, say, 'groups' model with a proper relation? > That'd help a lot :) > > > Cheers, > Jacek > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
