TIF_NGANJUK_E41220539/app/Providers/AuthServiceProvider.php

32 lines
782 B
PHP

<?php
namespace App\Providers;
// use App\Auth\DummyUserProvider; // Hapus atau Komen baris ini
use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The model to policy mappings for the application.
*/
protected $policies = [
//
];
/**
* Register any authentication / authorization services.
*/
public function boot(): void
{
// $this->registerPolicies(); // Laravel 10/11 biasanya auto-discovery
// HAPUS atau KOMENTARI bagian ini:
/*
Auth::provider('dummy', function ($app, array $config) {
return new DummyUserProvider();
});
*/
}
}