mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-10-31 03:06:51 +01:00 
			
		
		
		
	 b208835ed4
			
		
	
	
		b208835ed4
		
			
		
	
	
	
	
		
			
			* better oauth provider loading * add auth frontend * add configs for all default providers * add more default providers * add env variables to enable oauth providers * small refactor to link/ unlink routes * add oauth tab to (admin) profile * use redirects instead of exceptions * add notification if no oauth user is found * use import in config * remove whmcs provider * replace hardcoded links with `route` * redirect to account page on unlink * remove unnecessary controller and handle linking/ unlinking in action * only show oauth tab if at least one oauth provider is enabled
		
			
				
	
	
		
			13 lines
		
	
	
		
			228 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			228 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| return [
 | |
| 
 | |
|     'mailgun' => [
 | |
|         'domain' => env('MAILGUN_DOMAIN'),
 | |
|         'secret' => env('MAILGUN_SECRET'),
 | |
|         'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
 | |
|         'scheme' => 'https',
 | |
|     ],
 | |
| 
 | |
| ];
 |