The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Password Sync Method Improvement

I'm working on syncing passwords between my own database and FoxyCart to prepare for SSO. I'm glad to see the method for sha256_salted_suffix, but if you are using only password and salt, two people that have the same password will end up with the same hash. A way to prevent this is to include the creation timestamp somewhere in there which makes duplicate passwords near impossible to happen. So, in the end, every single hash will be different no matter what, even if all passwords will be the same.

Is there a way to add this functionality to the existing method (make it an optional parameter)? Or perhaps add a way to make a custom method?
Sign In or Register to comment.