hi,all Is there any way to pre-define the fields of users model in Auth component as it control the login action automatically. By default , Auth retrieves all the fields in the user model, and save it into session. i think it's not necessary and will burden session's job .
For example, i just want to requery and save two fields' data(username,city_id) of user model when login. How can i do it? Should i create my own auth component? i check the auth.php, It's not easy to change or extend it. Please help me , thanks... . --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---