Last active
September 26, 2015 09:28
-
-
Save smottt/1075745 to your computer and use it in GitHub Desktop.
Symfony2 Custom Login Even Listener
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
login_listener: | |
class: 'Acme\UserBundle\Listener\LoginListener' | |
arguments: ['@security.context', '@doctrine'] | |
tags: | |
- { name: 'kernel.event_listener', event: 'security.interactive_login' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment