Skip to content

You can import all Wordpress users to your Yii2 database and keep Wordpress password hashes, which will work with an existed hashes of Yii Framework. Validation will work and it will be still secure

butteff/Yii2-login-with-a-wordpress-password-hashes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Yii2 login with a wordpress password hashes

To import WordPress users to Yii2 just do this:

  1. import all the data, that you need, to the User table in your database.
  2. You can have there Yii2 or/and WordPress hashes for passwords
  3. Replace vendor/yiisoft/yii2/base/Security.php with the file from this repo.

What the file does: instead of exception of invalid hash it starts to use a wordpress functions for another one password validation. It all is still secure. Enjoy.

About

You can import all Wordpress users to your Yii2 database and keep Wordpress password hashes, which will work with an existed hashes of Yii Framework. Validation will work and it will be still secure

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages