From 6d7bf820c7c65ab56c279d20155cafab6da6ffb5 Mon Sep 17 00:00:00 2001 From: Dennis Elsinga Date: Thu, 12 Dec 2024 10:26:54 +0100 Subject: [PATCH] Update user canAccessPanel method to always return true --- app/Models/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/User.php b/app/Models/User.php index abb1f83..46bacf6 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -50,6 +50,6 @@ protected function casts(): array public function canAccessPanel(Panel $panel): bool { /* TODO: Please implement your own logic here. */ - return str_ends_with($this->email, '@example.com'); + return true; // str_ends_with($this->email, '@larament.test'); } }