One small problem is prevailing
Hi!
Because the double opt in registration is something that was added in after a multitude of registrants, these all need to verify their email so I added this code to the log in page:
<?php if(WA_Auth_RulePasses("VerifiedUser2")){ // Begin Show Region ?>
<p class="center" style="font-size:14px"><span style="color:#900; line-height:24px;">Your account has not been verified.</span><br />
Visit your <a href="userupdate.php" style="color:#00465B; font-weight:bold; text-decoration:underline">Update Information</a> page to resend an email verification link.</p><?php } // End Show Region ?>
The VerifiedUser2 rule is:
Resrict If <?php echo $_SESSION['SecurityAssist_UserID']; ?> =
Allow If <?php echo $_SESSION['emailVerified']; ?> = 0
I thought is was working all of this time, but it is not.
What is happening is the email verification is occurring as it should but when the email verification link is selected, the "Your account has not been verified.Visit your Update Information page to resend an email verification link." instead of allowing the access to their personal information etc.
The email link needs to acknowledge the status change.
The login page and email is attached
Can you help me with this?
Thank you!