This commit is contained in:
2025-11-04 00:23:41 +05:00
parent 1f31b020e8
commit 84c4a584a0
4 changed files with 9 additions and 5 deletions

View File

@@ -57,6 +57,6 @@ trait RoleCheckers
*/
public function isSystemUser(): bool
{
return $this->roles->count() > 0;
return $this->hasAnyRole();
}
}