Zizaco / entrust

Role-based Permissions for Laravel 5
MIT License
6.05k stars 1.29k forks source link

Laravel 8 login error #974

Open jollytoks opened 2 years ago

jollytoks commented 2 years ago

TypeError Argument 1 passed to Illuminate\Auth\EloquentUserProvider::validateCredentials() must be an instance of Illuminate\Contracts\Auth\Authenticatable, instance of App\Models\User given, called in C:\xampp\htdocs\laravel_qrcode_test\vendor\laravel\framework\src\Illuminate\Auth\SessionGuard.php on line 422 http://localhost:8000/login

Nimoi commented 2 years ago

This package is no longer maintained but check out the forks. There are a lot of forks that update to support Laravel 6-9. The updates mostly involve updating package versions in the composer.json to match your project so you could try it yourself too.