0

I am using the FOS UserBundle for Symfony2. This UserBundle requires a username.

But for my application I would like the user to log in with the email address and a username shall be completey ommited in my app.

It was no bigger problem to manage, that the user can login with his email address (by following this instruction).

So what steps do I have to go through to:

  • Remove the username from the schema (if necessary, workarounds like username eq. email are also fine, please denote how this workaround would work)?
  • Remove the username from all templates (register, login, forgot password etc.)?
  • Make the whole UserBundle still work without the username?
Gottlieb Notschnabel
  • 9,408
  • 18
  • 74
  • 116

0 Answers0