Commit 72bec795 authored by batgau's avatar batgau

Update client_change_password.php

parent 8c728aba
......@@ -15,11 +15,21 @@ try {
}
//* Set the function parameters.
$domain = 'test.int';
$client_id = 1;
$new_password = 'YourNewPAssword';
$record_record = $client->mail_domain_get_by_domain($session_id, $domain);
$success = $client->client_change_password($session_id, $client_id, $new_password);
print_r($record_record);
if ($success = 1)
{
echo "Password has been changed successfully";
}
else
{
echo "Error";
}
echo "<br>";
if($client->logout($session_id)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment