Henrik Posted August 14, 2019 Share Posted August 14, 2019 Hello There Prestashoppers, I am building a shop and I need to import customers. Once this is done the customers need to login. I have several options: a) insert an MD5 password in the database. However I understand it is not that easy since prestashop salts and encrypts. How do I generate the bulk hash and salted passwords? b) send an email asking them to change their password. How do I do that is bulk? Any ideas of how to do it? Thanks Link to comment Share on other sites More sharing options...
selectshop.at Posted August 14, 2019 Share Posted August 14, 2019 a) you can't. It is not possible to decrypt salted MD5 hashed paswords. Salt means that DB is using a random encryption. b) add on header of your page a notice, that you moved to new software, or updated the software and old passwords are not working anymore. Users need to use "new password" option to login into their accounts now. Link to comment Share on other sites More sharing options...
Henrik Posted August 15, 2019 Author Share Posted August 15, 2019 Hi Selectshop.at, Thanks for the suggestion. I will send an email to the user saying they need to recreate a new password. Regards henrik Link to comment Share on other sites More sharing options...
Martijn++ Posted August 25, 2019 Share Posted August 25, 2019 (edited) Hello Henrik, a correct import of customer passwords is quite easy. Just follow @DataKick's advices in this thread: https://www.prestashop.com/forums/topic/621031-solved-passwords-do-not-work-after-migrating-customers-to-another-shop/ Edited August 25, 2019 by Martijn++ (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now