FriendsOfSymfony/FOSUserBundle — Issue #406: Required fields?
Author: leek
Created: 2011-11-15 00:26:00+00:00
State: open

Are all of the fields defined by the abstract User class really necessary? Can any of them be removed or overridden easily?

For example, I have no need for any of these:

* `usernameCanonical`
* `emailCanonical`
* `enabled`
* `locked`
* `expired`
* `confirmationToken`

Yet all of these get populated with null values in my database when I save a User object.

If I can't remove them completely, can I even rename the fields entirely? I feel a bit pigeon-holed here so any help is appreciated.