Help with double opt tutorial
I am having problem with making the "Your email hasn't been verified. Please click here and we will email you a new link" appear after the user has changed the email address. The UserEmail gets updated with the new email and UserEmailVerified gets updated from 1 to 0 but the link does not appear. The only time that I can make the link appear is when I call the logout.php page to kill the session. Is there a step missing in the tutorial where after changing the email address(in the userupdate.php) the session should be killed so that the user gets to see and click on the link to get the email verified?
I will post the link and your info to logging into the site