Skip to content

Commit

Permalink
Merge pull request #53 from CodeWithDennis/filament-user-can-access-p…
Browse files Browse the repository at this point in the history
…anel-change

Update user canAccessPanel method to always return true
  • Loading branch information
CodeWithDennis authored Dec 12, 2024
2 parents b7cf090 + cfaa662 commit b0377cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ protected function casts(): array
public function canAccessPanel(Panel $panel): bool
{
/* TODO: Please implement your own logic here. */
return true; // str_ends_with($this->email, '@example.com');
return true; // str_ends_with($this->email, '@larament.test');
}
}

0 comments on commit b0377cd

Please sign in to comment.