Skip to content

Commit b0377cd

Browse files
Merge pull request #53 from CodeWithDennis/filament-user-can-access-panel-change
Update user canAccessPanel method to always return true
2 parents b7cf090 + cfaa662 commit b0377cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Models/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ protected function casts(): array
5050
public function canAccessPanel(Panel $panel): bool
5151
{
5252
/* TODO: Please implement your own logic here. */
53-
return true; // str_ends_with($this->email, '@example.com');
53+
return true; // str_ends_with($this->email, '@larament.test');
5454
}
5555
}

0 commit comments

Comments
 (0)