[SECURITY] Fix getRoles
This commit is contained in:
parent
c0ce25c352
commit
0e332b718e
@ -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…
Reference in New Issue
Block a user