Skip to content

Allow your clients to log in with usernames instead of emails

License

Notifications You must be signed in to change notification settings

superwofy/WHMCS-Usernames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 login template as shown below. The $LANG objects should be changed/overriden to reflect that users can now log-in with usernames.

template

  1. Edit your clientareadetails.tpl as below if you would like users to be unable to change the username

template

  1. Enjoy!

login

License

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

About

Allow your clients to log in with usernames instead of emails

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages