The code basically says that if you don’t input the password correctly at first you don’t get to log in for the whole session. Edit: nvm it actually checks for both being true without negating them. So it always forces the user to input the same password twice