mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-11-04 04:26:51 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			544 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			544 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace Pterodactyl\Providers;
 | 
						|
 | 
						|
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
 | 
						|
 | 
						|
class AuthServiceProvider extends ServiceProvider
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * The policy mappings for the application.
 | 
						|
     *
 | 
						|
     * @var array
 | 
						|
     */
 | 
						|
    protected $policies = [
 | 
						|
        'Pterodactyl\Models\Server' => 'Pterodactyl\Policies\ServerPolicy',
 | 
						|
    ];
 | 
						|
 | 
						|
    /**
 | 
						|
     * Register any application authentication / authorization services.
 | 
						|
     */
 | 
						|
    public function boot()
 | 
						|
    {
 | 
						|
        $this->registerPolicies();
 | 
						|
    }
 | 
						|
}
 |