mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-06-14 23:53:09 +08:00
admin add claim
This commit is contained in:
+1
-1
@@ -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