kostigas Posted August 1, 2019 Share Posted August 1, 2019 Hello, i am trying to build a customer login form using prestashop webservices. I am using prestashop 1.7, i've noticed that 1.7 uses bcrypt as encoding method, i've also noticed that the salt that is being used is dynamic so if i use the COOKIE_KEY as salt i can never get the same password as the one stored in the database. So my question is what do i need to do to generate the same password with the one stored in the database. Thanks in advance Link to comment Share on other sites More sharing options...
kostigas Posted August 2, 2019 Author Share Posted August 2, 2019 I found a workaround myself. You just have to use php password_verify() function 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