firefly-iii/config/auth.php

45 lines
937 B
PHP
Raw Normal View History

2015-02-05 21:39:52 -06:00
<?php
2017-08-12 03:27:45 -05:00
declare(strict_types=1);
/**
* auth.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* 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
2015-02-05 21:39:52 -06:00
return [
2017-04-09 00:56:46 -05:00
'defaults' => [
'guard' => 'web',
'passwords' => 'users',
],
2017-04-09 00:56:46 -05:00
'guards' => [
'web' => [
2017-04-09 00:56:46 -05:00
'driver' => 'session',
'provider' => 'users',
],
'api' => [
2017-04-09 00:56:46 -05:00
'driver' => 'token',
'provider' => 'users',
],
],
'providers' => [
'users' => [
'driver' => 'eloquent',
2017-04-09 00:56:46 -05:00
'model' => FireflyIII\User::class,
],
],
'passwords' => [
'users' => [
'provider' => 'users',
2017-04-09 00:56:46 -05:00
'table' => 'password_resets',
'expire' => 120,
],
2015-06-27 01:06:24 -05:00
],
2015-02-05 21:39:52 -06:00
];