Change User Password

Change User Password

Developed By HardSoftCode

Compatible with WHMCS v9.1

WHMCS 8 removed the ability for administrators to change a user's password from the admin area. Change User Password puts it back, safely and with every action recorded.

Change a password straight from the client profile or from the Manage Users dropdown, generate a strong password with one click, and optionally email it to the user so they can log in right away.

Why you need it

  • Users ask support to reset their password, and WHMCS no longer lets you do it.
  • Staff can reset passwords without ever needing the old one.
  • Every change is logged with who did it, when and from where.

Highlights

  • Two places to change a password: the client profile tab and the Manage Users dropdown, using the native WHMCS modal.
  • Built-in password generator: configurable length (8–64) and character types, using a cryptographically secure random source.
  • Optional email to the user: sent with a ready-made Change User Password template.
  • Dashboard and activity log: KPI cards, a reset trend chart, and a full audit trail with IP and browser.
  • Role-based access: uses the built-in WHMCS Access Control list, enforced server side.
  • Secure by design: POST-only, CSRF-protected endpoints, and no passwords in the logs.
  • Works on WHMCS 8.x and 9.x. Admin area only, no client-area changes.

What's New

This release makes the module's modal endpoints POST-only with CSRF validation. Opening an endpoint URL directly in the browser now returns the standard WHMCS HTTP Method Not Allowed page, just like WHMCS core routes. CSRF checks also go through one shared, fail-closed helper, so the modal shows a clean error instead of a raw response.

Access control now uses the built-in WHMCS Access Control list, and existing role lists are migrated automatically. The dashboard has been redesigned with total, monthly and daily reset counters, a quick action bar, a 7 / 30 / 90 day or all-time filter, and a new Reset Trend chart. Endpoints are now root-relative so they work from WHMCS 9 pretty admin URLs, and security was hardened across all endpoints and files.

You can now choose which character types the password generator uses (letters, numbers and symbols), and passwords are generated with a cryptographically secure random source. This release also fixes the Generate button and the CSRF token on the save form, so new passwords save correctly.

Features

Change a password

  • Change a password from the client profile tab
  • Change a password from the client profile → Users tab
  • Change a password from Clients → Manage Users
  • One click to change a password in a native WHMCS modal
  • Send an email notification to the user with the new password
  • Works with WHMCS 9 pretty URLs

Password generator

  • Configurable password length (8–64)
  • Configurable character types: letters, numbers, symbols
  • At least one character of every selected type
  • Cryptographically secure random generation
  • Copy and Insert buttons

Admin and audit

  • Dashboard with total, monthly and daily reset counters
  • Reset Trend chart with 7 / 30 / 90 day and all-time filters
  • Activity log with actor, IP and browser user-agent
  • Settings history that names every changed value
  • Configurable log retention with automatic cleanup

Security and access

  • Role-based access control using the WHMCS Access Control list
  • POST-only, CSRF-protected endpoints
  • No passwords stored in the activity log or the email log
  • No changes to WHMCS core files

Email

  • Ready-made Change User Password email template

We also offer full source code licenses for all of our products. Source code access for Change User Password is available for $200 USD. Please contact our support team for further details or to request a purchase.

 

Reviews

5 stars
3
3
4 stars
0
0
3 stars
0
0
2 stars
0
0
1 star
2
2
Hosting VPN avatar

Hosting VPN @hosting4151

February 6, 2024 at 07:14:22 PM

The price is good but they do not reply to your support tickets either in a timely manner if at all

  • 2 years ago
  • Version Number 1.2.1
Web Host Pro avatar

Web Host Pro @webhost5354

July 19, 2021 at 07:45:39 PM

This does not work and they will not refund you.

HardSoftCode Teams avatar

HardSoftCode Teams @HardSoftCode

July 23, 2021 at 09:39:52 AM (Edited)

Hi
You have a problem with WHMCS our support staff try to help you with the problem but you refuse and ask for refund

Owner@HardSoftCode  
  • 5 years ago
  • Version Number 1.1.1
Arjen Kocken avatar

Arjen Kocken @arjen4010

April 14, 2021 at 06:35:19 AM

Thanks for this addon! I'm in the middle of a migration, to migrate a lot of customers to the new portal and they can't receive a password reset mail after the mail migration. Off course we let the customers know a long time before, that we will migrate.. But some users don't check email, I think :-)

This module will really help me to send them the last mail, in the current mailbox. To tell them they are migrated and need to login to the portal with the password I can set now!

Thanks, saving me a lot of time, money well spend!

Is a v8.1 version comming?

HardSoftCode Teams avatar

HardSoftCode Teams @HardSoftCode

April 17, 2021 at 08:51:21 AM

Hi Arjen

Thank you for the review. I just want you to know that the module works with v8.1.x

Owner@HardSoftCode  
  • 5 years ago
  • Version Number 1.1.1
Givanildo Santos avatar

Givanildo Santos @givanildo7305

November 9, 2020 at 05:35:30 PM

One of the best developers to work with whmcs. we already have more than 8 specific addon projects working very well!

this is really the best when whmcs limits the lives of providers.
Congratulations on working with clean code and no compilation at all.

  • 5 years ago
  • Version Number 1.1.1
Giovanna  avatar

Giovanna @giovanna9612

October 16, 2020 at 06:43:14 PM

It worked just right, it saved our work, customers who don't remember the secret answer get stuck without this function.

  • 6 years ago
  • Version Number 1.1.0

Version Compatibility


Compatible with WHMCS v9.1

Full Version Compatibility


  • Selected versions of WHMCS v9.1
        9.1.0
  • All versions of WHMCS v9.0
  • All versions of WHMCS v8.13

System Requirements


  • WHMCS 8.x or 9.x
  • IonCube Loader matching your PHP version (the module is IonCube encoded)
  • A valid license key, emailed after purchase
  • PHP version as required by your WHMCS version
  • WHMCS daily cron running
  • At least one admin role ticked in the WHMCS Access Control list for the module

* Requirements listed are in addition to the WHMCS default system requirements.

Support for this product

The best place to start if you need help with a specific product is to contact the developer. All WHMCS Marketplace developers have both a website and support URL listed.

Developed By HardSoftCode

Changelog

v2.4.1 Released October 30th, 2026

Latest Version


  • Added: Three dashboard KPI cards: Total Resets, This Month and Today's Resets
  • Added: Quick action bar: generate a test password, find a client, settings
  • Added: 7 / 30 / 90 day and all-time activity filter
  • Added: Reset Trend chart, capped at 366 days for All Time, with Chart.js 4.4.1 bundled (no CDN)
  • Added: Password Characters setting: choose letters, numbers and symbols
  • Added: Every selected character type is guaranteed in each generated password
  • Added: Dashboard, Activity Log (DataTables) and admin header navigation
  • Added: Audit log with IP and browser
  • Added: Per-change settings history
  • Added: AJAX settings with toast messages
  • Updated: Modal body (a=index) is now POST-only with a CSRF token, like WHMCS core routes
  • Updated: Opening an endpoint URL directly in the browser returns the WHMCS HTTP Method Not Allowed page
  • Updated: Access Control now uses the built-in WHMCS role list, and the module's own role field was removed
  • Updated: Existing role lists are migrated automatically, and an empty role list denies access, matching WHMCS
  • Updated: Dashboard redesigned, with the activity feed sorted by date, capped at 10 rows and showing actor badges
  • Updated: Endpoints are root-relative, so they work from WHMCS 9 pretty admin URLs
  • Updated: Password generation is now cryptographically secure (random_int() + Fisher-Yates) instead of str_shuffle()
  • Updated: Modern rewrite on the HSCode architecture: namespaced controllers and Smarty admin templates
  • Fixed: Direct GET to a=store and a=password now returns the WHMCS 405 page instead of a bare JSON error
  • Fixed: GET responses no longer mint or echo a CSRF token
  • Fixed: Dashboard counters now count password changes only, so settings saves no longer inflate them
  • Fixed: Generate button now works
  • Fixed: CSRF token on the save form, so new passwords save correctly
  • Fixed: Generator modal no longer reuses WHMCS element IDs
  • Fixed: Length warning and pre-filled password
  • Improved: CSRF validation is centralised in one fail-closed helper that returns a clean JSON 403 to the modal
  • Improved: a=store and a=password use the same CSRF helper
  • Improved: Access is enforced consistently in the UI and the endpoints
  • Improved: Security hardening: POST-only password generation, password saves and settings saves, restricted controller dispatch, password length and NUL byte checks, direct file access blocked, .htaccess rules, and generic activation and deactivation errors

 

Previous Versions


v2.1.0 Released May 25th, 2025

View/hide detailed changelog

  • Support WHMCS V8.13.x
  • Support for PHP 8.4
  • Added disable WHMCS change password functionality
  • Improve module access control

 

v2.0.0 Released October 18th, 2024

View/hide detailed changelog

  • Support WHMCS V8.11.x
  • Support for PHP 8.2
  • Improve license system

 

v1.2.1 Released December 17th, 2022

View/hide detailed changelog

  • Support WHMCS V8.6.x
  • Support for PHP 8.1

 

v1.2.0 Released August 20th, 2022

View/hide detailed changelog

  • Improve module security
  • Added change password to client profile

 

v1.1.2 Released November 1st, 2021

View/hide detailed changelog

  • Fixed error message bug

 

v1.1.1 Released October 23rd, 2020

View/hide detailed changelog

  • Fixed a bug when generating password with symbols

 

v1.1.0 Released October 9th, 2020

View/hide detailed changelog

  • Added password length
  • Added password generator

 

v1.0.0 Released October 1st, 2020

View/hide detailed changelog

  • Initial release

 

See also

The SSL Store™ WHMCS SSL Reseller Module

Sell SSL on autopilot: automated issuance, validation, installation and renewal, right inside WHMCS.

Free
Client Password Changer

Easily generate and change passwords for your clients without the need to send an email

Free
Abuse Manager Pro

Creating & managing abuse reports just got easier!

Commercial
CSF Unblocker v4

Give your customers the power to unblock themselves from the CSF Firewall! Lessen your staff support ticket load

Commercial
Phone Verification

Automated Phone Verification. Protect your business and your users

Commercial