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 5bb3bef commit 450c96d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/user/src/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,12 @@
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Illuminate\Support\Facades\Storage;
use Jeffgreco13\FilamentBreezy\Traits\TwoFactorAuthenticatable;
use Spatie\Permission\Traits\HasRoles;

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

protected $fillable = [
'name',
Expand Down Expand Up @@ -53,8 +49,6 @@ class User extends Authenticatable implements FilamentUser, HasAvatar

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

Expand Down

0 comments on commit 450c96d

Please sign in to comment.