mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 13:32:41 +08:00
update filamentphp basic
This commit is contained in:
@@ -142,7 +142,7 @@ class User extends Authenticatable implements FilamentUser, HasName
|
||||
return self::query()->where("id", $id)->exists();
|
||||
}
|
||||
|
||||
public function canAccessFilament(): bool
|
||||
public function canAccessPanel(\Filament\Panel $panel): bool
|
||||
{
|
||||
return $this->canAccessAdmin();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user