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 1010use Illuminate \Foundation \Auth \User as Authenticatable ;
1111use Illuminate \Notifications \Notifiable ;
1212use Illuminate \Support \Facades \Storage ;
13- use Jeffgreco13 \FilamentBreezy \Traits \TwoFactorAuthenticatable ;
14- use Spatie \Permission \Traits \HasRoles ;
1513
1614class User extends Authenticatable implements FilamentUser, HasAvatar
1715{
1816 use HasFactory;
19- use HasRoles;
2017 use Notifiable;
2118 use SoftDeletes;
22- use TwoFactorAuthenticatable;
2319
2420 protected $ fillable = [
2521 'name ' ,
@@ -53,8 +49,6 @@ class User extends Authenticatable implements FilamentUser, HasAvatar
5349
5450 public function canAccessPanel (Panel $ panel ): bool
5551 {
56- // TODO: Implement roles and permissions.
57- // return $this->hasAnyRole(['super_admin', 'filament_user']);
5852 return true ;
5953 }
6054
You can’t perform that action at this time.
0 commit comments