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.