[SECURITY] Fix getRoles

This commit is contained in:
Hugo Sales 2020-09-10 20:42:54 +00:00 committed by Hugo Sales
parent c0ce25c352
commit 0e332b718e
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
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());
}
/**