aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorryo <ryo@nopwd.lol>2025-03-11 16:15:29 +0000
committerryo <ryo@nopwd.lol>2025-03-11 16:15:29 +0000
commitfa4823dd632cad6a5736c1d900a064647bb72c20 (patch)
treea716b9d9f0ce62a9d2ca53f11d64b2a39b178d6c /config
parente1a48c8208c181fd40ecb065878ba9ea49b1f48f (diff)
Added admin user that can change usres teamHEADmain
Fixed: player login based on user and password Added: show errors to the user
Diffstat (limited to 'config')
-rw-r--r--config/auth.php13
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',
- // ],
],
/*