I use the updateProfile function, but it seems to only collect first name and photo
You must have a user schema defined and exported as a model somewhere in your project directory. Make sure that it contains all the required fields. Then, in your updateProfile
function, you can access and change any property that you want.
Also, provide the code for your function as it helps in understanding the question better.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.