firefly-iii/config/auth.php

41 lines
771 B
PHP
Raw Normal View History

2015-02-05 21:39:52 -06:00
<?php
2016-05-20 01:57:45 -05:00
declare(strict_types = 1);
2015-02-05 21:39:52 -06:00
return [
2016-01-08 09:31:27 -06:00
'allow_register' => true,
2016-01-09 00:32:23 -06:00
'defaults' => [
'guard' => 'web',
'passwords' => 'users',
],
2016-01-09 00:32:23 -06:00
'guards' => [
'web' => [
2016-01-09 00:32:23 -06:00
'driver' => 'session',
'provider' => 'users',
],
'api' => [
2016-01-09 00:32:23 -06:00
'driver' => 'token',
'provider' => 'users',
],
],
2015-02-05 21:39:52 -06:00
'providers' => [
'users' => [
'driver' => 'eloquent',
2016-01-09 00:32:23 -06:00
'model' => FireflyIII\User::class,
],
],
2015-02-05 21:39:52 -06:00
'passwords' => [
'users' => [
'provider' => 'users',
2016-01-09 00:32:23 -06:00
'email' => 'emails.password',
'table' => 'password_resets',
'expire' => 60,
],
2015-06-27 01:06:24 -05:00
],
2015-02-05 21:39:52 -06:00
];