mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 05:00:49 +08:00
admin add claim
This commit is contained in:
@@ -105,7 +105,7 @@ class User extends Authenticatable implements FilamentUser, HasName
|
||||
|
||||
public function canAccessFilament(): bool
|
||||
{
|
||||
return $this->class >= self::CLASS_ADMINISTRATOR;
|
||||
return $this->canAccessAdmin();
|
||||
}
|
||||
|
||||
public function getFilamentName(): string
|
||||
|
||||
Reference in New Issue
Block a user