You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m using a vanilla Solidus 2.4.2 store with solidus_auth_devised.
It looks like the default user created has email: admin@example.com and login: admin@example.com. If I go to the /account/edit page, I can modify the User’s email.
Now I have a situation where I have email: foo@bar.com and login: admin@example.com. It seems there is simply no way to modify the login attribute once the user is created. What’s slightly weirder, it is email, not login, that is used to log in. :)
leave the actual login attribute as nil when creating a new user.
save any new changes to the email field to the login attribute as well.
@jhawthorn perhaps you can weigh in here. I’d be happy to prepare a PR once we settle on what we think the behavior should be. I’m just finding it weird to have accounts with this legacy login field set to whatever the initial value was and not able to be modified later. Let me know what you think!
The text was updated successfully, but these errors were encountered:
I’m using a vanilla Solidus 2.4.2 store with solidus_auth_devised.
It looks like the default user created has
email: admin@example.com
andlogin: admin@example.com
. If I go to the/account/edit
page, I can modify the User’semail
.Now I have a situation where I have
email: foo@bar.com
andlogin: admin@example.com
. It seems there is simply no way to modify thelogin
attribute once the user is created. What’s slightly weirder, it isemail
, notlogin
, that is used to log in. :)What should we do here?
My suggestion would be that if this extension is built to use the
email
attribute as the login by default, than we should either:login
attribute asnil
when creating a new user.email
field to thelogin
attribute as well.@jhawthorn perhaps you can weigh in here. I’d be happy to prepare a PR once we settle on what we think the behavior should be. I’m just finding it weird to have accounts with this legacy
login
field set to whatever the initial value was and not able to be modified later. Let me know what you think!The text was updated successfully, but these errors were encountered: