I am trying to implement the custom hashing on password before saving into the database. This is a limitation of my app, to hash the passwords i use a random key, know as saltpassword, i apply the md5 on user password and than concatenate the hashed password with saltpassword and again apply md5 hash on the result, and save the password and salt password in the database.
Now i am struggle to login, i have an idea that i need to overwrite the cake password hasher.is it correct? please guide me to fix this solution that where i need to what to get access on the login.
Regards