Le 07/04/2011 08:40, Azat a écrit :
I need to update field lastLoginTime when user is logged in.
How can I do this?

Without redirect of course, is User model in Security Bundle support this?

This can be done using the interactive_login event. Look at https://github.com/FriendsOfSymfony/UserBundle/blob/master/Security/InteractiveLoginListener.php to see the FOS UserBundle implementation.

--
Christophe | Stof

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to