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:
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:Jump to 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...
2 Replies
Why not just duplicate the command and make it your own?
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