Skip to content

Latest commit

 

History

History
26 lines (13 loc) · 817 Bytes

README.md

File metadata and controls

26 lines (13 loc) · 817 Bytes

WHMCS Usernames

A very simple PHP script that you can direct your logins to in order to enable usernames.

How-to

  1. Create a custom field as shown below. Call it either "Username" or "username".

field

  1. Copy dologin2.php to the root of your WHMCS directory. Feel free to rename the file as you please.

  2. Copy the clientDetailsValidation.php hook to WHMCS-root/includes/hooks

  3. Edit your template as shown below. The $LANG objects should be changed/overriden to reflect that users can now log-in with usernames.

template

  1. Enjoy!

login

License

This project is licensed under the MIT License - see the LICENSE.md file for details