Can you point me to that location, where I can find and extend the USER model, to include the USER EMAIL ADDRESS ?
The expectation is that the EMAIL ADDRESS should be persisted in the DB and be available across USER login sessions.
Add custom property to the new and existing user profiles
Hey nodebb community,
I'm just new to nodebb but already did some research about the available hooks. I want to add a custom field to user profiles and found this: https://docs.nodebb.org/nb_NO/latest/plugins/hooks.html#filter-user-custom-fields
The documentation says
Allows you to append custom fields to the newly created user, ex. mobileNumber
what about existing user accounts?
can someone provide sample code on how to add a custom profile field that can be set by new and already existing user accounts?
It's not an answer to your question but, just in case, for researching hooks better to use Github wiki