forked from GNUsocial/gnu-social
[SECURITY] Fix getRoles
This commit is contained in:
parent
e0672e559a
commit
96415f8523
@ -265,7 +265,7 @@ class LocalUser extends Entity implements UserInterface
|
||||
*/
|
||||
public function getRoles()
|
||||
{
|
||||
return UserRoles::bitmapToStrings($this->getActor()->getRoles());
|
||||
return UserRoles::toArray($this->getActor()->getRoles());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user