firefly-iii/config/auth.php
2016-08-26 08:21:31 +02:00

41 lines
771 B
PHP

<?php
declare(strict_types = 1);
return [
'allow_register' => true,
'defaults' => [
'guard' => 'web',
'passwords' => 'users',
],
'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'users',
],
'api' => [
'driver' => 'token',
'provider' => 'users',
],
],
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => FireflyIII\User::class,
],
],
'passwords' => [
'users' => [
'provider' => 'users',
'email' => 'emails.password',
'table' => 'password_resets',
'expire' => 60,
],
],
];