Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
isp
ISPConfig 3
Commits
72bec795
Commit
72bec795
authored
Feb 01, 2018
by
batgau
Browse files
Update client_change_password.php
parent
8c728aba
Changes
1
Hide whitespace changes
Inline
Side-by-side
remoting_client/examples/client_change_password.php
View file @
72bec795
...
...
@@ -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
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment