mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
update filamentphp basic
This commit is contained in:
+1
-1
@@ -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