File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 77use Illuminate \Database \Eloquent \Factories \HasFactory ;
88use Illuminate \Foundation \Auth \User as Authenticatable ;
99use Illuminate \Notifications \Notifiable ;
10- use Jeffgreco13 \FilamentBreezy \Traits \TwoFactorAuthenticatable ;
11- use Spatie \Permission \Traits \HasRoles ;
1210
1311class User extends Authenticatable implements FilamentUser
1412{
1513 use HasFactory;
16- use HasRoles;
1714 use Notifiable;
18- use TwoFactorAuthenticatable;
1915
2016 /**
2117 * The attributes that are mass assignable.
@@ -49,8 +45,6 @@ class User extends Authenticatable implements FilamentUser
4945
5046 public function canAccessPanel (Panel $ panel ): bool
5147 {
52- // TODO: Implement roles and permissions.
53- // return $this->hasAnyRole(['super_admin', 'filament_user']);
5448 return true ;
5549 }
5650}
You can’t perform that action at this time.
0 commit comments