Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
isp
ISPConfig 3
Commits
72bec795
Commit
72bec795
authored
Feb 01, 2018
by
batgau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update client_change_password.php
parent
8c728aba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
remoting_client/examples/client_change_password.php
remoting_client/examples/client_change_password.php
+13
-3
No files found.
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
Markdown
is supported
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