How can I enable login with email in symfony2 fosUserBundle? I tried this:
providers:
fos_userbundle:
id: fos_user.user_provider.username_email
But got an error saying the service didn't exist.
Do I have to write my own functionality for this? I thought FosUserBundle came with it out of the box?