auth.php Class -App-User not found

132

auth.php Class "\App\User" not found -

Go to config/auth.php and change App\User:class to App\Models\User::class.

'providers' => [
    'users' => [
        'driver' => 'eloquent',
        'model' => App\Models\User::class,
    ],
Also change the namespace of User.php model

namespace App\Models;

Comments

Submit
0 Comments