mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-10-04 13:46:50 +00:00
api: users: sort groups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
ebf82c7781
commit
329780350c
@ -100,7 +100,7 @@ my $extract_user_data = sub {
|
||||
|
||||
return $res if !$full;
|
||||
|
||||
$res->{groups} = $data->{groups} ? [ keys %{$data->{groups}} ] : [];
|
||||
$res->{groups} = $data->{groups} ? [ sort keys %{$data->{groups}} ] : [];
|
||||
$res->{tokens} = $data->{tokens};
|
||||
|
||||
return $res;
|
||||
|
Loading…
Reference in New Issue
Block a user