Cannot protect page following instructions
I have User Registration Solution Pack. I followed the instructions in "Restricting acccess to your pages using the User Registration Solution Pack," but the page opens even though I am not logged into the site." This is the code I inserted:
<?php require_once( "../registration/WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php
if (!WA_Auth_RulePasses("Email Confirmed")){
WA_Auth_RestrictAccess("users_LogIn.php");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
I go to my site, I don't log in, and I select the page with the restriction code from my drop-down menu, and it opens. Since I'm not logged in, shouldn't it redirect me to my users_LogIn.php page? Is there something missing in my code?
Thanks!