saeyo Posted August 20, 2017 Share Posted August 20, 2017 Hi everyone, It's my first Prestashop project and I'm hitting some walls. I've done some researched on this but couldn't find an answer that works. I'm importing a client database to prestashop 1.7.2 from a proprietary system where passwords were stored as md5 hash of user passwords. I understand that prestashop works differently and does a md5 of a key concatenated with the user password. So my question is, is there any work around this of I can import clients with their passwords? If not, do you know any simple way to send out an email to every imported client so they can click and reset their password (and the store would give them a 10% discount if they do). thanks so much for your help! Link to comment Share on other sites More sharing options...
saeyo Posted August 24, 2017 Author Share Posted August 24, 2017 My client doesn't have budget to pay another dev so I would really like some directions on this, and then do it myself Link to comment Share on other sites More sharing options...
Scully Posted August 24, 2017 Share Posted August 24, 2017 (edited) The main problem is the following: passwords in PrestaShop are encrypted and hashed with a salt. This salt is stored in the file settings.inc.php. You needed to choose the same salt there as the one which was used with the proprietary system. And the encryption must be handled the same way in both systems. If you can't fullfill this prerequisite condition, you will fail. I also don't know if its possible to import users by CSV. However MySQL would do the job with no problems if the encryption question is solved. Edited August 24, 2017 by Scully (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