A very simple PHP script that you can direct your logins to in order to enable usernames.
- Create a custom field as shown below. Call it either "Username" or "username".
-
Copy dologin2.php to the root of your WHMCS directory. Feel free to rename the file as you please.
-
Copy the clientDetailsValidation.php hook to WHMCS-root/includes/hooks
-
Edit your template as shown below. The $LANG objects should be changed/overriden to reflect that users can now log-in with usernames.
- Enjoy!
This project is licensed under the MIT License - see the LICENSE.md file for details