I want to completely kill usernames on my website. People will use email for login. I'll do that by duplicating the email field into the username on registration.. but...
When the user changes the email, the username would also change, and since wordpress doesn't allow that by default (even the user update function won't allow it).. I'm wondering if there is any hardcoded reason why that shouldn't happen (external keys or some other architecture restriction).
So my question is: is it safe to make the username field changeable with an email update (obviously by changing the field directly in the database)