chiconus Posted February 6, 2014 Share Posted February 6, 2014 Hello, I'm migrating a shop from 1.2.5 to 1.5.6 The only issue I have is the password of the customers. I've created a new db for 1.5.6. If I look at the "secret key" and "password" rows in the table, the secret key is the same btw 1.2.5 and 1.5.6 but the generated hash for the same password entered is not the same. It means I can not migrate the table customer from 1.2.5 to the new db 1.5.6. => if a user enters his password it will be always wrong => he will need to reset his password => not acceptable for my business case Is there a key to change somewhere? (in settings file) Or is it linked with Rijndael and BlowFish option ? example for the same user, same password : 1.2.5 : password :6b8f3b2e5f7987a0836ba07aec7f9d5dsecret key :a5855fa87c4b7673a1e55fcde3d24523 1.5.6 password :ba1869aef94ed133a182d836edebec41secret key :a5855fa87c4b7673a1e55fcde3d24523 Thanks for your help !! Chiconus Link to comment Share on other sites More sharing options...
tomerg3 Posted February 6, 2014 Share Posted February 6, 2014 Prestashop uses the variable _COOKIE_KEY_ in /config/settings.inc.php to encrypt the passwords, make sure that value is the same. 1 Link to comment Share on other sites More sharing options...
chiconus Posted February 7, 2014 Author Share Posted February 7, 2014 problem solved. Thanks ! Link to comment Share on other sites More sharing options...
Recommended Posts