2015-02-06 04:39:52 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
2016-01-08 16:31:27 +01:00
|
|
|
'allow_register' => true,
|
2016-01-09 07:32:23 +01:00
|
|
|
'defaults' => [
|
|
|
|
'guard' => 'web',
|
2016-01-08 15:59:21 +01:00
|
|
|
'passwords' => 'users',
|
|
|
|
],
|
2016-01-09 07:32:23 +01:00
|
|
|
'guards' => [
|
2016-01-08 15:59:21 +01:00
|
|
|
'web' => [
|
2016-01-09 07:32:23 +01:00
|
|
|
'driver' => 'session',
|
2016-01-08 15:59:21 +01:00
|
|
|
'provider' => 'users',
|
|
|
|
],
|
|
|
|
|
|
|
|
'api' => [
|
2016-01-09 07:32:23 +01:00
|
|
|
'driver' => 'token',
|
2016-01-08 15:59:21 +01:00
|
|
|
'provider' => 'users',
|
|
|
|
],
|
|
|
|
],
|
2015-02-06 04:39:52 +01:00
|
|
|
|
2016-01-08 15:59:21 +01:00
|
|
|
'providers' => [
|
|
|
|
'users' => [
|
|
|
|
'driver' => 'eloquent',
|
2016-01-09 07:32:23 +01:00
|
|
|
'model' => FireflyIII\User::class,
|
2016-01-08 15:59:21 +01:00
|
|
|
],
|
|
|
|
|
|
|
|
// 'users' => [
|
|
|
|
// 'driver' => 'database',
|
|
|
|
// 'table' => 'users',
|
|
|
|
// ],
|
|
|
|
],
|
2015-02-06 04:39:52 +01:00
|
|
|
|
2016-01-08 15:59:21 +01:00
|
|
|
'passwords' => [
|
|
|
|
'users' => [
|
|
|
|
'provider' => 'users',
|
2016-01-09 07:32:23 +01:00
|
|
|
'email' => 'emails.password',
|
|
|
|
'table' => 'password_resets',
|
|
|
|
'expire' => 60,
|
2016-01-08 15:59:21 +01:00
|
|
|
],
|
2015-06-27 08:06:24 +02:00
|
|
|
],
|
2015-02-06 04:39:52 +01:00
|
|
|
|
|
|
|
];
|