Possible Duplicate:
Symfony2 AJAX Login
I have implemented a custom authentication handler service to handle AJAX login requests, as suggested here: https://stackoverflow.com/a/8312188/267705
But how can I handle normal login requests? It would be nice to call the default behavior, but I don’t know and haven’t found how to do it.
This is one of the ways to achieve what you want:
Enjoy. 😉