2015-02-05 21:39:52 -06:00
|
|
|
<?php
|
2017-08-12 03:27:45 -05:00
|
|
|
|
2016-10-04 23:52:15 -05:00
|
|
|
/**
|
|
|
|
* auth.php
|
2017-08-18 14:08:51 -05:00
|
|
|
* Copyright (c) 2017 thegrumpydictator@gmail.com
|
2016-10-04 23:52:15 -05:00
|
|
|
* This software may be modified and distributed under the terms of the
|
|
|
|
* Creative Commons Attribution-ShareAlike 4.0 International License.
|
|
|
|
*
|
|
|
|
* See the LICENSE file for details.
|
|
|
|
*/
|
2016-05-20 01:57:45 -05:00
|
|
|
|
2017-08-18 14:08:51 -05:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2015-02-05 21:39:52 -06:00
|
|
|
return [
|
2017-04-09 00:56:46 -05:00
|
|
|
'defaults' => [
|
|
|
|
'guard' => 'web',
|
2016-01-08 08:59:21 -06:00
|
|
|
'passwords' => 'users',
|
|
|
|
],
|
2017-04-09 00:56:46 -05:00
|
|
|
'guards' => [
|
2016-01-08 08:59:21 -06:00
|
|
|
'web' => [
|
2017-04-09 00:56:46 -05:00
|
|
|
'driver' => 'session',
|
2016-01-08 08:59:21 -06:00
|
|
|
'provider' => 'users',
|
|
|
|
],
|
|
|
|
|
|
|
|
'api' => [
|
2017-04-09 00:56:46 -05:00
|
|
|
'driver' => 'token',
|
2016-01-08 08:59:21 -06:00
|
|
|
'provider' => 'users',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
'providers' => [
|
|
|
|
'users' => [
|
|
|
|
'driver' => 'eloquent',
|
2017-04-09 00:56:46 -05:00
|
|
|
'model' => FireflyIII\User::class,
|
2016-01-08 08:59:21 -06:00
|
|
|
],
|
|
|
|
],
|
|
|
|
'passwords' => [
|
|
|
|
'users' => [
|
|
|
|
'provider' => 'users',
|
2017-04-09 00:56:46 -05:00
|
|
|
'table' => 'password_resets',
|
|
|
|
'expire' => 120,
|
2016-01-08 08:59:21 -06:00
|
|
|
],
|
2015-06-27 01:06:24 -05:00
|
|
|
],
|
2015-02-05 21:39:52 -06:00
|
|
|
|
|
|
|
];
|