I'm using Laravel 5.1, and I need to use existing user table that has its own password algorithm. After hours and hours of research, I've found solution and here are the steps. Hope this helps Laravelers.
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
in config/auth.php file, set driver value to custom. like this.
create a file 'CustomUserProvider.php in app/Auth directory.
next, create a file 'CustomAuthProvider.php' in app/Providers directory.
That's it.