|
|
@ -70,9 +70,9 @@ class rcube_virtualmin_password
|
|
|
|
$domain = $rcmail->user->get_username('domain');
|
|
|
|
$domain = $rcmail->user->get_username('domain');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$username = escapeshellcmd($username);
|
|
|
|
$username = escapeshellarg($username);
|
|
|
|
$domain = escapeshellcmd($domain);
|
|
|
|
$domain = escapeshellarg($domain);
|
|
|
|
$newpass = escapeshellcmd($newpass);
|
|
|
|
$newpass = escapeshellarg($newpass);
|
|
|
|
$curdir = RCUBE_PLUGINS_DIR . 'password/helpers';
|
|
|
|
$curdir = RCUBE_PLUGINS_DIR . 'password/helpers';
|
|
|
|
|
|
|
|
|
|
|
|
exec("$curdir/chgvirtualminpasswd modify-user --domain $domain --user $username --pass $newpass", $output, $returnvalue);
|
|
|
|
exec("$curdir/chgvirtualminpasswd modify-user --domain $domain --user $username --pass $newpass", $output, $returnvalue);
|
|
|
|