I'm using FOSUserBundle and my User model has "isForcedPasswordChange" field, which means that user is forced to change his password immediately (he can't use system anymore) To implement that, i'm hooking core.controller event, where i perform setController, pointing to changepassword controller, but at this point i'm stuck. Right now everything is working like a charm, but my eventlistener obtains required controller as a service from DIC. As it stated somewhere, using controllers as services is quite bad but i see no clean way how my event listener could retrieve that controller in clean DDD & Symfony2 way. What am i missing?
-- 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