From 7e3db57c09420c44cb4b1bd4a1945f09b19848c5 Mon Sep 17 00:00:00 2001 From: Curtis Delicata Date: Sun, 23 Jun 2024 19:19:03 +0000 Subject: [PATCH] Install Filament Shield --- app/Models/User.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Models/User.php b/app/Models/User.php index ef4c8825..f51337f6 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -11,6 +11,7 @@ use Laravel\Fortify\TwoFactorAuthenticatable; use Laravel\Jetstream\HasProfilePhoto; use Laravel\Sanctum\HasApiTokens; +use Spatie\Permission\Traits\HasRoles; class User extends Authenticatable { @@ -23,6 +24,7 @@ class User extends Authenticatable use Notifiable; use SetsProfilePhotoFromUrl; use TwoFactorAuthenticatable; + use HasRoles; /** * The attributes that are mass assignable.