Error in Users::EmailVerification when a user clicks on the browser's back button during registration

The following discussion from !103429 (merged) should be addressed:

  • @mle started a discussion: (+1 comment)

    issue When I enter the wrong phone number, there is no way that I can correct the number.

    1. I sign up
    2. I enter a wrong phone number to verify
    3. Alert received that "There was a problem with the phone number you entered. Enter a different phone number and try again"
    4. I clicked back on browser and I am sent back to sign up screen with name/username/email inputs
    5. I enter same information again
    6. Click Register
    7. Error screen "The users confirmation token has not been set or saved"

    CleanShot_2022-11-21_at_21.54.50