User Profile Page not functioning properly
** Please see attached users_profile.php file
When testing the functionality of my URSP, everything was working well until I noticed that the users_profile.php page was revealing the incorrect "show if" region / statement...
When I initially logged in, I accessed the profile page (without verifying my email address first) and noticed that the profile page was displaying the "show if" region stating 'Congratulations. You can access the Protected Page." Of course, I was expecting to see the "show if" region stating, "Your email address has not been verified" (**I slightly modified the wording for each "show if" statement for my web page, but the message is the same).
I tried this a couple of more times (registering a new user and accessing the profile page without first verifying my email address) and was met with this same issue.
I am uncertain if this makes any difference, but I did insert user level authorization through securityassist to the page. Do you think this may be the problem. Also, is it necessary to insert such security access to a profile page?
I would appreciation any assistance you may have to offer. Thank you.