|
|
@ -14,8 +14,8 @@ return [ |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
'defaults' => [ |
|
|
'defaults' => [ |
|
|
'guard' => 'web', |
|
|
|
|
|
'passwords' => 'users', |
|
|
|
|
|
|
|
|
'guard' => 'associates', |
|
|
|
|
|
'passwords' => 'associates', |
|
|
], |
|
|
], |
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|
@ -36,14 +36,19 @@ return [ |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
'guards' => [ |
|
|
'guards' => [ |
|
|
'web' => [ |
|
|
|
|
|
|
|
|
'associates' => [ |
|
|
'driver' => 'session', |
|
|
'driver' => 'session', |
|
|
'provider' => 'users', |
|
|
|
|
|
|
|
|
'provider' => 'associates', |
|
|
|
|
|
], |
|
|
|
|
|
|
|
|
|
|
|
'collaborators' => [ |
|
|
|
|
|
'driver' => 'session', |
|
|
|
|
|
'provider' => 'collaborators', |
|
|
], |
|
|
], |
|
|
|
|
|
|
|
|
'api' => [ |
|
|
'api' => [ |
|
|
'driver' => 'token', |
|
|
'driver' => 'token', |
|
|
'provider' => 'users', |
|
|
|
|
|
|
|
|
'provider' => 'collaborators', |
|
|
'hash' => false, |
|
|
'hash' => false, |
|
|
], |
|
|
], |
|
|
], |
|
|
], |
|
|
@ -66,15 +71,15 @@ return [ |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
'providers' => [ |
|
|
'providers' => [ |
|
|
'users' => [ |
|
|
|
|
|
|
|
|
'associates' => [ |
|
|
'driver' => 'eloquent', |
|
|
'driver' => 'eloquent', |
|
|
'model' => App\User::class, |
|
|
|
|
|
|
|
|
'model' => App\Associate::class, |
|
|
], |
|
|
], |
|
|
|
|
|
|
|
|
// 'users' => [
|
|
|
|
|
|
// 'driver' => 'database',
|
|
|
|
|
|
// 'table' => 'users',
|
|
|
|
|
|
// ],
|
|
|
|
|
|
|
|
|
'collaborators' => [ |
|
|
|
|
|
'driver' => 'eloquent', |
|
|
|
|
|
'model' => App\Collaborator::class, |
|
|
|
|
|
], |
|
|
], |
|
|
], |
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|
@ -93,9 +98,16 @@ return [ |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
'passwords' => [ |
|
|
'passwords' => [ |
|
|
'users' => [ |
|
|
|
|
|
'provider' => 'users', |
|
|
|
|
|
'table' => 'password_resets', |
|
|
|
|
|
|
|
|
'associates' => [ |
|
|
|
|
|
'provider' => 'associates', |
|
|
|
|
|
'table' => 'associate_password_resets', |
|
|
|
|
|
'expire' => 60, |
|
|
|
|
|
'throttle' => 60, |
|
|
|
|
|
], |
|
|
|
|
|
|
|
|
|
|
|
'collaborators' => [ |
|
|
|
|
|
'provider' => 'collaborators', |
|
|
|
|
|
'table' => 'collaborator_password_resets', |
|
|
'expire' => 60, |
|
|
'expire' => 60, |
|
|
'throttle' => 60, |
|
|
'throttle' => 60, |
|
|
], |
|
|
], |
|
|
@ -125,10 +137,8 @@ return [ |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
'password_requirements' => [ |
|
|
'password_requirements' => [ |
|
|
'users' => [ |
|
|
|
|
|
'min_length' => 10, |
|
|
|
|
|
'max_length' => 255, |
|
|
|
|
|
], |
|
|
|
|
|
|
|
|
'min_length' => 10, |
|
|
|
|
|
'max_length' => 255, |
|
|
], |
|
|
], |
|
|
|
|
|
|
|
|
]; |
|
|
]; |