Sylius version affected: 1.1.0
Description
Why the DefaultUsernameORMListener forces shop user username to be e-mail only? How to create a customer & user with a non e-mail username like mike or brangelina?
Steps to reproduce
Create a customer and user programatically, set non-email username to the shop user. Persist and flush.
Possible Solution
Drop the listener and let people decide what username should account have? Or prevent listener from working if the username is not empty.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.
Well this sucks.
True, in our shop this also is somewhat of a problem but this ties into the fact that email addresses in Sylius are unique across channels.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.
I am also for implementing this so that the shop-user and the Symfony user that is used for authentication are used like they should be. (Currently the username of the Symfony is the user's email and the Symfony's user email is null for all users)
Have there been any updates on this? I am integrating a forum as a sylius shop subdomain and I kind of need the username...
@decemvre no updates, although it should be a fairly simple task. Maybe you could pick it up... 馃檪
@vvasiloi Nice try ( : but after giving it some thought im just going to connect the two by storing the forum db user id inside the sylius user table which is better anyway since usernames might change overtime.