Skip to content

Commit 9e210c4

Browse files
Install Filament Shield
1 parent 2b31be9 commit 9e210c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Models/User.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@
1111
use Laravel\Fortify\TwoFactorAuthenticatable;
1212
use Laravel\Jetstream\HasProfilePhoto;
1313
use Laravel\Sanctum\HasApiTokens;
14+
use Spatie\Permission\Traits\HasRoles;
1415

1516
class User extends Authenticatable
1617
{
1718
use HasApiTokens;
1819
use HasConnectedAccounts;
1920
use HasFactory;
21+
use HasRoles;
2022
use HasProfilePhoto {
2123
HasProfilePhoto::profilePhotoUrl as getPhotoUrl;
2224
}

0 commit comments

Comments
 (0)