Change User Passwordfor WHMCS · Documentation
v2.4.0

How It Works

Modal endpoints and the password-update flow.


Modal endpoints

addonmodules.php?module=ChangePassword&a=index&userid=… serves the form as AJAX {body} markup. store persists the new password (POST + token), password generates a random one sized to the configured length.

Flow

  1. Admin clicks Change Password in the manage-users dropdown or opens the profile tab input.
  2. Modal loads with user name/email and a password field + generator.
  3. On save, the password is updated, an audit row is written, and the Change User Password email is sent if the checkbox is ticked (merge field user_password).

Email merge fields

The seeded template supports {$user_first_name}, {$user_email}, {$user_password}, {$whmcs_link}, {$signature}.