FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Is there option where the user's new email can be updated in the system only when he verifies his email?

    Scheduled Pinned Locked Moved Unsolved
    General Discussion
    2
    2
    273
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pravin.m
      last edited by pravin.m

      The user is able to update his/her Email without verification overwriting existing email (verified).
      If User don't verify or has entered wrong email while updating then email is still updated in the system with unverified state.
      We don't have any option to roll back to the old email if the user is not able to verify his/her email.

      Is there any option where the user's new email can be updated in the system only when he verifies his email otherwise old email will remain unchanged with a verified state?

      Using the following API to update the email:

      PATCH /api/user/{userId}
      
      {
          "user": {
            "username": "user@mail.com",
            "email": "user@mail.com"
          }
      }
      
      joshuaJ 1 Reply Last reply Reply Quote 0
      • joshuaJ
        joshua @pravin.m
        last edited by

        @pravin-m

        Thanks for filing an issue for consideration!

        https://github.com/FusionAuth/fusionauth-issues/issues/1638

        Thanks,
        Josh

        1 Reply Last reply Reply Quote 0
        • First post
          Last post