security - Redirect after logout depending on user symfony 2 with FOSUserBundle -
after users session expired (or logged out) want redirect him page depending on rights of users have been.
i'm using symfony 2.1.8-dev , fosuserbundle.
i think there has event attach listener to, didn't found approbiate listener, neither in symfonys core nor in fosuserbundle.
do have thought how accomplish this? possible?
theoretically there must statement user gets logged out.
actually has nil fosuserbundle. need register event handler listens requests , check if session has expired.
how register event listeners , subscribers http://symfony.com/doc/current/cookbook/doctrine/event_listeners_subscribers.html
this question asked here: catch session timeout symfony2
security symfony-2.1 fosuserbundle
No comments:
Post a Comment