Jump to content
Henrik

Importing Clients MD5 issues

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More