Open Zebraslive opened 4 years ago
what files do I need to modify to add an additional field to the register form. I already edited register.ejs with the new username input field.
I just want to allow user to choose username when registering.
You should update the local signup strategy of passport to take into account the new field when registering a user. https://github.com/ThalKod/discord-clone/blob/master/config/passport.js
what files do I need to modify to add an additional field to the register form. I already edited register.ejs with the new username input field.
I just want to allow user to choose username when registering.