Is there any way to force customer to change password in NopCommerce

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
We had moved one of our store from PrestaShop to nopCommerce. During the migration, we lost all registered customer's passwords because of PrestaShop password encryption policy. I don't think so, we will be able to recover existing passwords.

We have migrated all customers and given them a default password. We were thinking if there is a way to force each customer to change the password on the first-time login. Like, system force customer to change password on first login attempt.
7 years ago
Hello-

Without modifying the source code, this is not possible.

I had a client with a similar situation.
We decided to just set every customer password to be same as their email address, and used a plugin to send a special message to all customers to explain about the password needing to be changed.


Announcing our New Website!!!

Blah blah blah....

To protect our customers all passwords are fully encrypted and cannot even be seen by us. Because we've migrated to a better e-commerce platform, it is necessary for you to update your password.
Click here to login and change your password:
https://www.mydomain.com/customer/changepassword

Your username:  %Customer.Username%
Your temporary password is the email address that this message was sent to.

We're sorry for the inconvenience, and to say thank you, please use this coupon code and save 10% on your next order!
Thankyou10
7 years ago
embryo wrote:
Hello-

Without modifying the source code, this is not possible.

I had a client with a similar situation.
We decided to just set every customer password to be same as their email address, and used a plugin to send a special message to all customers to explain about the password needing to be changed.


Announcing our New Website!!!

Blah blah blah....

To protect our customers all passwords are fully encrypted and cannot even be seen by us. Because we've migrated to a better e-commerce platform, it is necessary for you to update your password.
Click hereto login and change your password:
https://www.mydomain.com/customer/changepassword

Your username:  %Customer.Username%
Your temporary password is the email address that this message was sent to.

We're sorry for the inconvenience, and to say thank you, please use this coupon code and save 10% on your next order!
Thankyou10

To complement what Embryo suggested in v3.9 you have new customer settings (in advanced mode) that let you define the Password lifetime,  by which you can temporally force the customer to change his password and another to set "Unduplicated passwords number"
5 years ago
Tecnofin wrote:

that let you define the Password lifetime,  by which you can temporally force the customer to change his password


But isn't that setting for all customers?  If so, how would that help?  Not all users sign-in at the same time...

We would need the ability to set the password lifetime on each customer.  For example, we've got Customer 1 & 2. Then if Customer 1 changes his/her password their new lifetime would be the default setting.  Customer 2 password lifetime would still be 0.

Maybe I'm missing something?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.