Skip to content

Commit

Permalink
Update auth config.
Browse files Browse the repository at this point in the history
Closes #105.

Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Dec 17, 2015
1 parent a6062f4 commit a8603f1
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions fixture/config/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
|
| 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.
|
Expand All @@ -38,21 +38,21 @@
'guards' => [
'web' => [
'driver' => 'session',
'source' => 'users',
'provider' => 'users',
],

// 'api' => [
// 'driver' => 'token',
// 'source' => 'users',
// ],
'api' => [
'driver' => 'token',
'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.
|
Expand All @@ -64,7 +64,7 @@
|
*/

'sources' => [
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\User::class,
Expand Down Expand Up @@ -97,8 +97,8 @@

'passwords' => [
'users' => [
'source' => 'users',
'email' => 'emails.password',
'provider' => 'users',
'email' => 'auth.emails.password',
'table' => 'password_resets',
'expire' => 60,
],
Expand Down

0 comments on commit a8603f1

Please sign in to comment.