From fa4823dd632cad6a5736c1d900a064647bb72c20 Mon Sep 17 00:00:00 2001 From: ryo Date: Tue, 11 Mar 2025 16:15:29 +0000 Subject: Added admin user that can change usres team Fixed: player login based on user and password Added: show errors to the user --- config/auth.php | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'config/auth.php') 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', - // ], ], /* -- cgit v1.2.3