I have a two-process sign-up where users are required initially to input their email and password (SIGN UP), followed by a second step where they input a name, phone number and flat number. The second step UPDATES the current Logged in user database based on the values of the input. The issue is that when another user tries to register, the data of the previous registration is populated into the fields of the second step.
How can I prevent previous data from being populated into the input field?
Thank you in advance.