Updating default registration fields

Support MB User Profile Updating default registration fieldsResolved

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20496
    @mindspark@mindspark
    Participant

    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?

    1. default email address
    2. password

    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?

    #20501
    @mindspark@mindspark
    Participant

    UPDATE: I found the 'rwmb_user_info' ID to use for basic login info.

    still struggling with the default email address though...

    #20503
    Long NguyenLong Nguyen
    Moderator

    Hi,

    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.

    #20515
    @mindspark@mindspark
    Participant

    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!

    #20519
    Long NguyenLong Nguyen
    Moderator

    Hi,

    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.

    #20542
    @mindspark@mindspark
    Participant

    thank you for the clarification!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.