What if you’re migrating from an old website to wordpress and want to import your users, but all the passwords are hashed with SHA1? By default, WordPress does not recognize SHA1 hashed passwords, but fear not! Add this code to your functions.php, or add into an existing custom plugin. Hashed passwords are updated to the standard wordpress hash after a successful login.
The artcile Allow WordPress Login with SHA1 Password Hash appeared first on Max Rice.