mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-11-04 05:15:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			45 lines
		
	
	
		
			935 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			935 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
/**
 | 
						|
 * auth.php
 | 
						|
 * Copyright (c) 2017 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.
 | 
						|
 */
 | 
						|
 | 
						|
declare(strict_types=1);
 | 
						|
 | 
						|
return [
 | 
						|
    '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',
 | 
						|
            'table'    => 'password_resets',
 | 
						|
            'expire'   => 120,
 | 
						|
        ],
 | 
						|
    ],
 | 
						|
 | 
						|
];
 |