Override makeUserCommand in vendor folder

I have made a custom user model that does not hold the email or name of the user, these fields are stored in a seperate table that contains more information on the user. I have created a new login and changed the authIdentifiers to make use of username, however I would like the command:
php artisan make:filament-user
php artisan make:filament-user
to make use of the username and simply ask for the username and the password for easy user creation. Without having to change the vendor code, which is bad practice, how can I override the makeUserCommand?
Solution:
After posting this I came to that conclusion, I wasn't aware you could override a command by makign a new one with the same signature. Thanks...
Jump to solution
2 Replies
toeknee
toeknee3w ago
Why not just duplicate the command and make it your own?
Solution
eggswithshrek
eggswithshrek3w ago
After posting this I came to that conclusion, I wasn't aware you could override a command by makign a new one with the same signature. Thanks

Did you find this page helpful?