pterodactyl / whmcs

WHMCS Module for Pterodactyl (v0.7.3 and higher)
MIT License
185 stars 77 forks source link

Use username from email instead random one #135

Closed anondev-sudo closed 1 year ago

anondev-sudo commented 1 year ago

How can I make your whmcs mobile use username from email address and not generate random character username when making account on pterodactyl.

TrixterTheTux commented 1 year ago

As mentioned over Discord (multiple times), you'd need to modify the module to do your desired behavior. The username is random for a reason to avoid conflicts which would otherwise prevent the user from being created => deployment failing.

anondev-sudo commented 1 year ago

You can keep it open to see if people like it

anondev-sudo commented 1 year ago

If username from email fails random username can be used

anondev-sudo commented 1 year ago

If user doesn't have set last name on whmcs, user create fails too. Whmcs can be set to have last name optional. The module shouldn't send empty (null value) last_name to pterodactyl api when last name isn't set on whmcs