speed-providing-uncl Posted February 16, 2018 Share Posted February 16, 2018 Hi, I would like to know how to migrate my symfony 'users' to prestashop 'customers', for the SQL field 'password'. Presta uses 'PrestaShop\PrestaShop\Core\Crypto\Hashing->hash' with salt _COOKIE_KEY_ to encode passwords but how to migrate a symfony (with FOS User Bundle) password, such as $2y$13$E.IYziald3PJQMSyHVAAAAAAAAKQAmyeVUNLO0HJctFQmr9Scpu to work on prestashop ? Which classes/controllers/methods should I override ? Thanks Florian Link to comment Share on other sites More sharing options...
DataKick Posted February 16, 2018 Share Posted February 16, 2018 You want to override Customer::getByEmail method Link to comment Share on other sites More sharing options...
speed-providing-uncl Posted February 16, 2018 Author Share Posted February 16, 2018 thanks, that was exactly what I was looking for!! 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