Tuesday, January 27, 2009

Adding saveField after $this->Auth->login

Hello everyone,

Do you know how I can add a saveField action right after a succesful
login using Auth?
I would like to update the User.last_visit with the current date just
after the user is logged in. Do I have to rewrite the login function
in the users_controller or is there another way?

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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: