[SECURITY] Fix getRoles

This commit is contained in:
Hugo Sales 2020-09-10 20:42:54 +00:00 committed by Hugo Sales
parent e0672e559a
commit 96415f8523
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
/**