mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Extend acceptedRoles array in AC controllers.
This commit is contained in:
@@ -72,8 +72,8 @@ trait UserGroupTrait
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
throw new FireflyException(sprintf('Object is of class %s, not User.', $user::class));
|
||||
$class = null === $user ? 'NULL' : $user::class;
|
||||
throw new FireflyException(sprintf('Object is %s, not User.', $class));
|
||||
}
|
||||
|
||||
public function getUserGroup(): ?UserGroup
|
||||
|
Reference in New Issue
Block a user