mirror of
https://github.com/ovh/the-bastion.git
synced 2025-01-01 13:01:53 +08:00
fix: get_group_list() returned invalid members list (was not used anywhere)
This commit is contained in:
parent
07f5c35458
commit
7fa2523bfc
1 changed files with 1 additions and 2 deletions
|
@ -746,8 +746,7 @@ sub get_group_list {
|
|||
and not grep { $name eq $_ } qw{ keykeeper keyreader })
|
||||
{
|
||||
$name =~ s/^key//;
|
||||
my @members = split(/ /, $members);
|
||||
$groups{$name} = {gid => $gid, members => split(/ /, $members)};
|
||||
$groups{$name} = {gid => $gid, members => [split(/ /, $members)]} if ($name ne '');
|
||||
}
|
||||
}
|
||||
$_cache_get_group_list{$groupType} = R('OK', value => \%groups);
|
||||
|
|
Loading…
Reference in a new issue