Sunday, April 2, 2017

Authenticating WordPress users after importing into a Laravel 5 project

We had a WordPress website and yet decided to build a Laravel 5.4 based website and we have to keep WP's users . I just imported WP's user table rows (email, Password hash, ID) from WP_user into Laravel's 'users' table. But it fails to authenticate, for every single user. Not sure if the problem is about password hashes actually I tried to use this package: https://github.com/ksungcaya/phpass-laravel but it is outdated and couldn't install it using composer. Why is this happening? It it because of different hash generators? Is there a way to fix it? Thanks in advance.



via Masoud Ar

Advertisement