Commit 1865c299 authored by Taylor Otwell's avatar Taylor Otwell

use provider for consistent language

parent ba857ca5
......@@ -25,9 +25,9 @@ return [
|
| Next, you may define every authentication guard for your application.
| Of course, a great default configuration has been defined for you
| here which uses "session" storage and the Eloquent user source.
| here which uses session storage and the Eloquent user provider.
|
| All authentication drivers have a user "source". This defines how the
| All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
|
......@@ -38,21 +38,21 @@ return [
'guards' => [
'web' => [
'driver' => 'session',
'source' => 'users',
'provider' => 'users',
],
'api' => [
'driver' => 'token',
'source' => 'users',
'provider' => 'users',
],
],
/*
|--------------------------------------------------------------------------
| User Sources
| User Providers
|--------------------------------------------------------------------------
|
| All authentication drivers have a user "source". This defines how the
| All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
|
......@@ -64,7 +64,7 @@ return [
|
*/
'sources' => [
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\User::class,
......@@ -97,7 +97,7 @@ return [
'passwords' => [
'users' => [
'source' => 'users',
'provider' => 'users',
'email' => 'emails.password',
'table' => 'password_resets',
'expire' => 60,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment