Hi I am having a problem with my account creation system, I added an email confirmation to it, and now when the password is typed wrong first, and then retried correctly, when the code gets to the end of the function, rather than exiting out, it goes back to an if statement in the function for some reason. I dont know if anyone will be able to help without me posting all the code, but i will post what I can in hopes someone might have an idea what the issue may be.
The problem is occuring with the if(parseFile(.....
If an account has been created correctly, with the password and the password retry entered correctly the first time, everything works fine, the createAccounts function exits fine. But if the retry password is entered wrong, and then correctly, when createAccounts gets to the end of the function, rather than exiting, it seems to recall the parseFile if statement. And it seems to have to do with the if(password != passwordRetype) if statement, as if i comment that out, it works fine and exits fine, but i can not find why this is, or how to fix it. Any ideas on how to fix this issue would be appreciated