Skip to content

About

Allow your clients to log in with usernames instead of emails

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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 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

About

Allow your clients to log in with usernames instead of emails

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages