Skip to content

Commit

Permalink
Update User.php
Browse files Browse the repository at this point in the history
  • Loading branch information
adrolli committed Feb 10, 2025
1 parent 2014bf8 commit 5bb3bef
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,11 @@
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Jeffgreco13\FilamentBreezy\Traits\TwoFactorAuthenticatable;
use Spatie\Permission\Traits\HasRoles;

class User extends Authenticatable implements FilamentUser
{
use HasFactory;
use HasRoles;
use Notifiable;
use TwoFactorAuthenticatable;

/**
* The attributes that are mass assignable.
Expand Down Expand Up @@ -49,8 +45,6 @@ class User extends Authenticatable implements FilamentUser

public function canAccessPanel(Panel $panel): bool
{
// TODO: Implement roles and permissions.
// return $this->hasAnyRole(['super_admin', 'filament_user']);
return true;
}
}

0 comments on commit 5bb3bef

Please sign in to comment.