Catalyst-Plugin-Authentication how do I check a history of encrypted passwords

51 views Asked by At

we are using Catalyst-Plugin-Authentication for storing hashed passwords and it's working great.

Now we have a requirement to keep an X number of hashed password history and check new password against this list. I'm looking to find a way to loop through 10 (for example) previous hashed passwords for a user to check against new not yet hashed password. If there is a match, return error. How can this be done?

0

There are 0 answers