mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-10-31 07:16:51 +01:00 
			
		
		
		
	 4ec9171017
			
		
	
	
		4ec9171017
		
			
		
	
	
	
	
		
			
			* rework oauth provider creation & lodaing * add separate setup form * use wizard for setup * add provider class for discord * cleanup and fixes * don't throw exception when creating duplicate provider * update profile and login pages * did not mean to remove the whole else, oops * use import
		
			
				
	
	
		
			27 lines
		
	
	
		
			413 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			413 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| return [
 | |
| 
 | |
|     'lockout' => [
 | |
|         'time' => 2,
 | |
|         'attempts' => 3,
 | |
|     ],
 | |
| 
 | |
|     'guards' => [
 | |
|         'api' => [
 | |
|             'driver' => 'token',
 | |
|             'provider' => 'users',
 | |
|         ],
 | |
|     ],
 | |
| 
 | |
|     'passwords' => [
 | |
|         'users' => [
 | |
|             'provider' => 'users',
 | |
|             'table' => 'password_resets',
 | |
|             'expire' => 60,
 | |
|             'throttle' => 60,
 | |
|         ],
 | |
|     ],
 | |
| 
 | |
| ];
 |