Skip to content
Snippets Groups Projects
Commit b09971f5 authored by Thom's avatar Thom :tools:
Browse files

Update client_change_password.php

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