Cleaning (#1)

* Sanctum removed

* Unused middleware classes removed

* Changed default email - Seeder

* Models updated

* Config .env is now smaller

* Not used, so not used - Providers

* Clearing your router of comments
This commit is contained in:
2022-05-19 13:22:51 +02:00
committed by GitHub
parent 500523efd6
commit d118793e01
29 changed files with 187 additions and 534 deletions

View File

@@ -1,30 +1,17 @@
<?php
declare(strict_types=1);
namespace App\Providers;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Gate;
class AuthServiceProvider extends ServiceProvider
{
/**
* 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.
*
* @return void
*/
public function boot()
{
$this->registerPolicies();
//
}
}