diff options
Diffstat (limited to 'config/auth.php')
-rw-r--r-- | config/auth.php | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/config/auth.php b/config/auth.php index 0ba5d5d..7375045 100644 --- a/config/auth.php +++ b/config/auth.php @@ -38,13 +38,13 @@ return [ 'guards' => [ 'web' => [ 'driver' => 'session', - 'provider' => 'users', + 'provider' => 'players', ], ], /* |-------------------------------------------------------------------------- - | User Providers + | Player Providers |-------------------------------------------------------------------------- | | All authentication guards have a user provider, which defines how the @@ -60,15 +60,10 @@ return [ */ 'providers' => [ - 'users' => [ + 'players' => [ 'driver' => 'eloquent', - 'model' => env('AUTH_MODEL', App\Models\User::class), + 'model' => env('AUTH_MODEL', App\Models\Player::class), ], - - // 'users' => [ - // 'driver' => 'database', - // 'table' => 'users', - // ], ], /* |