673 users online

Login with username or email

1 2 Next
Posted: 4 months ago Quote
I just got frustrated because I couldn't log in to the forums. It turned out that I was trying to use my email address to log in instead of my username so it was my fault but is there any reason why nop couldn't accept either username or email?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Greg Kennedy
DBG Technologies Pty Ltd
www.dbgtechnologies.com
Posted: 4 months ago Quote
Image that you have two customers:
Customer1. Email: somemail1@example.com. Username: username1
Customer2. Email: somemail2@example.com. Username: somemail1@example.com

You enter "somemail1@example.com". Which one should be logged in this case?
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Andrei Mazoulnitsyn,
LinkedIn - http://ru.linkedin.com/in/mazoulnitsyn

Twitter - http://twitter.com/#!/nopCommerce
Facebook community page - http://www.facebook.com/pages/NopCommerce/108282972527146
Google+ page - https://plus.google.com/100073150079669136049
Posted: 4 months ago Quote
What's the use case for having 2 customers with the same email address? It's fairly commonplace to consider emails unique so I'm curious to know why it isn't in nop.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Greg Kennedy
DBG Technologies Pty Ltd
www.dbgtechnologies.com
Posted: 3 months ago Quote
Emails are distinct, but the email of Customer1 is the same as the username of Customer2 in my example above.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Andrei Mazoulnitsyn,
LinkedIn - http://ru.linkedin.com/in/mazoulnitsyn

Twitter - http://twitter.com/#!/nopCommerce
Facebook community page - http://www.facebook.com/pages/NopCommerce/108282972527146
Google+ page - https://plus.google.com/100073150079669136049
Posted: 3 months ago Quote
What if when creating the username it verified against existing usernames along with email addresses? That would ensure that no duplicates are being used.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: 3 months ago Quote
But there are already a lot of existing live stores powered by nopCommerce. Some of them can have customers similar to what I described above. They'll just not be able to upgrade to the further versions in this case.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Andrei Mazoulnitsyn,
LinkedIn - http://ru.linkedin.com/in/mazoulnitsyn

Twitter - http://twitter.com/#!/nopCommerce
Facebook community page - http://www.facebook.com/pages/NopCommerce/108282972527146
Google+ page - https://plus.google.com/100073150079669136049
Posted: 3 months ago Quote
I think that it's great to offer the option to login with the email OR with username at the application level, but I disagree that the user should be offered the choice to use either one or the other. That would be too confusing on both the development implication, and also for the users themselves.

Just the opposite, I suggest too allow duplicate emails, I've just posted another post about that,  giving a use case : order managers wanting to place orders for different department or legal entities, on behalf different 'customers' (usernames), but using a single email (a scenario that I am currently experiencing).
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: 2 months ago Quote
There needs to be a forgot username option.  I am getting alaot of customers forgetting it is a username, this may also help with people reconizing it is a username and not an email.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
www.happycoral.com
"Aquariums always look better with Happy Coral"
Posted: 2 months ago Quote
thrifty34 wrote:
There needs to be a forgot username option.  I am getting alaot of customers forgetting it is a username, this may also help with people reconizing it is a username and not an email.

You can simply include "%Customer.Username%" token into your "Customer.PasswordRecovery" message template
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Andrei Mazoulnitsyn,
LinkedIn - http://ru.linkedin.com/in/mazoulnitsyn

Twitter - http://twitter.com/#!/nopCommerce
Facebook community page - http://www.facebook.com/pages/NopCommerce/108282972527146
Google+ page - https://plus.google.com/100073150079669136049
Posted: one month ago Quote
In addition to adding the token to the password recovery e-mail, I made a couple of additional changes that I think help to clarify that you can recover your password AND username.

1. In the \App_Data\defaultResources.public.nopres.xml file I changed the

This - <LocaleResource Name="PasswordRecovery">
         <Value>Password recovery</Value>

To - <LocaleResource Name="PasswordRecovery">
       <Value>Password and Username recovery</Value>


AND

This - <LocaleResource Name="ForgotPassword">
         <Value>Forgot password?</Value>

To - <LocaleResource Name="ForgotPassword">
       <Value>Forgot password or Username?</Value>
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
1 2 Next