Skip to content

Commit

Permalink
Update AuthServiceProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Dec 28, 2024
1 parent 34dee59 commit d2523e0
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions src/Abstracts/Providers/AuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,5 @@

abstract class AuthServiceProvider extends LaravelAuthServiceProvider
{
// TODO: BC
// https://laravel.com/docs/10.x/upgrade#register-policies
// parent::boot() should be removed from
// App\Containers\AppSection\Authentication\Providers\AuthServiceProvider::boot()

/**
* The policy mappings for the application.
*
* @var array<class-string, class-string>
*/
protected $policies = [
// 'App\Models\Model' => 'App\Policies\ModelPolicy',
];

/**
* Register any authentication / authorization services.
*/
public function boot(): void
{
$this->registerPolicies();
}
protected $policies = [];
}

0 comments on commit d2523e0

Please sign in to comment.