entrust
entrust copied to clipboard
Laravel 8 login error
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
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.