Support › MB User Profile › Updating default registration fieldsResolved
I'm using MB to create front end user registration forms. Updating info for the custom fields I create is clear and no problem. But, what if someone wants to change one of these?
and a quick followup - I'm requiring users to sign in with email, not username, since usernames can't be changed, does a user login become invalid when they change their email?
UPDATE: I found the 'rwmb_user_info' ID to use for basic login info.
still struggling with the default email address though...
When a user changes his/her email (successfully submitted), he still has the status logging in that session but after logging out, he can use the new email.
It just like when you update your email in backend Users -> Your Profile.
the part I don't understand is what field type/id do I use in the MB User Profile form?
Does the email field available in the MB Profile builder automatically replace the default email for the user? I don't think it does.
Please advise and thanks!
To change the user email, please use the field email, and field ID must be user_email. See more in my screen record https://www.loom.com/share/47fe2edd09dd4cc6ba2aacb9a98d0f6f.
And follow this documentation https://docs.metabox.io/extensions/mb-user-profile/#edit-profile-form.
thank you for the clarification!