rynhndrcksn / natural-resources

Repo for holding a project for Green River College's Natural Resources Bachelors program.
MIT License
0 stars 0 forks source link

Add function that updates hashed passwords #33

Open riveraryan opened 3 years ago

riveraryan commented 3 years ago

Add a function to UserModel that checks during login if the hashing algorithm used by PHP's password_hash() has changed and updates the password in the database using PHP's password_verify() function.