This commit is contained in:
2023-11-29 16:00:03 +05:00
parent ede8513ebf
commit 70161a8fcc
2 changed files with 3 additions and 4 deletions

View File

@@ -3,6 +3,7 @@
namespace App\Providers;
// use Illuminate\Support\Facades\Gate;
use App\Policies\UserPolicy;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
@@ -13,7 +14,7 @@ class AuthServiceProvider extends ServiceProvider
* @var array<class-string, class-string>
*/
protected $policies = [
//
User::class => UserPolicy::class,
];
/**