Incorrect method name for changeUserPassword
This commit is contained in:
parent
4d01eba23f
commit
2f148722fa
1 changed files with 2 additions and 2 deletions
|
@ -310,10 +310,10 @@ function websitepanel_ChangePassword($params)
|
|||
else
|
||||
{
|
||||
// Attempt to change the user's account password
|
||||
$result = $wsp->change_user_password($user['UserId'], $password);
|
||||
$result = $wsp->changeUserPassword($user['UserId'], $password);
|
||||
if ($result >= 0)
|
||||
{
|
||||
// Log this action for logging / tracking purposes incase the client complains we have record of what went on and why
|
||||
// Log this action for logging / tracking purposes incase the client complains we have record of what went on and why
|
||||
logActivity("Control Panel Password Updated - Service ID: {$serviceId}", $userId);
|
||||
|
||||
// Success - Alert WHMCS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue