mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
the RESTAPI for supporting to add/modify user/password for BMC with rspconfig
This commit is contained in:
parent
91cc4b2c65
commit
6041cea621
@ -1883,6 +1883,13 @@ sub actionhdl {
|
||||
} elsif ($paramhash->{'value'}) {
|
||||
push @args, $urilayers[3]."=".$paramhash->{'value'};
|
||||
}
|
||||
if (defined($urilayers[3]) and $urilayers[3] =~ /^account/) {
|
||||
foreach my $key (keys %$paramhash) {
|
||||
if (($key ne '') and (exists($paramhash->{$key}))) {
|
||||
push @args, $key."=".$paramhash->{$key};
|
||||
}
|
||||
}
|
||||
}
|
||||
} elsif ($params->{'resourcename'} eq "eventlog") {
|
||||
if (isGET()) {
|
||||
push @args, 'all';
|
||||
|
Loading…
x
Reference in New Issue
Block a user