This commit is contained in:
nurmuhammet committed 2025-10-29 01:35:40 +05:00
1 parent 5b03a9be19
commit fe21695e4e
2 files changed
+9 -8

No files matched your search

+9
View File
@@ -3,6 +3,7 @@
namespace App\Models;
use App\Modules\UserAdjustments\Traits\UserAdjustments;
use Filament\Panel;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
@@ -45,4 +46,12 @@ class User extends Authenticatable
'password',
'remember_token',
];
/**
* Can access panel
*/
public function canAccessPanel(Panel $panel): bool
{
return true;
}
}
@@ -61,12 +61,4 @@ public function passport_id(): string
{
return (string) $this->getOption('passport_id');
}
/**
* Can access panel
*/
public function canAccessPanel(Panel $panel): bool
{
return true;
}
}