diff options
author | ryo <ryo@nopwd.lol> | 2025-03-11 16:15:29 +0000 |
---|---|---|
committer | ryo <ryo@nopwd.lol> | 2025-03-11 16:15:29 +0000 |
commit | fa4823dd632cad6a5736c1d900a064647bb72c20 (patch) | |
tree | a716b9d9f0ce62a9d2ca53f11d64b2a39b178d6c /config | |
parent | e1a48c8208c181fd40ecb065878ba9ea49b1f48f (diff) |
Fixed: player login based on user and password
Added: show errors to the user
Diffstat (limited to 'config')
-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', - // ], ], /* |