mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-28 12:35:09 +00:00
api/agent: do not dereference params hash before passing to agent_cmd
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
4c4622a880
commit
50ecb1ba58
@ -252,7 +252,7 @@ __PACKAGE__->register_method({
|
||||
password => encode_base64($param->{password}),
|
||||
crypted => $crypted ? JSON::true : JSON::false,
|
||||
};
|
||||
my $res = agent_cmd($vmid, "set-user-password", %$args, 'cannot set user password');
|
||||
my $res = agent_cmd($vmid, "set-user-password", $args, 'cannot set user password');
|
||||
|
||||
return { result => $res };
|
||||
}});
|
||||
|
Loading…
Reference in New Issue
Block a user