/auth.php Secret
Last active
November 8, 2021 21:05
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
// rest of the auth.php config | |
'guards' => [ | |
'web' => [ | |
'driver' => 'session', | |
'provider' => 'users', | |
], | |
'customer' => [ | |
'driver' => 'session', | |
'provider' => 'orders', | |
], | |
], | |
// rest of the auth.php config | |
'providers' => [ | |
'users' => [ | |
'driver' => 'eloquent', | |
'model' => App\Models\User::class, | |
], | |
'orders' => [ | |
'driver' => 'eloquent', | |
'model' => App\Models\Order::class, | |
], | |
// 'users' => [ | |
// 'driver' => 'database', | |
// 'table' => 'users', | |
// ], | |
], | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment