Right, I see the problem:
On the memembers index page yu have the following code:
<?php require_once( "../WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php
if (!WA_Auth_RulePasses("Verified Member")){
WA_Auth_RestrictAccess("../awaiting_verification.php");
}
?>
this checks if they are a verified member and sends them to the awaiting_verification.php page.
they are not logged in, so they cant be a verified member either ;)
on the awaiting_verification.php page you have the following:
?php
if (!WA_Auth_RulePasses("Logged in to users")){
WA_Auth_RestrictAccess("users_LogIn.php");
}
?>
they are not logged in so they are directed to the login page. Since the awaiting_verification.php page was the page that actyually sent them to the login page, it is page they get directed to.
on the members page, change the code:
<?php
if (!WA_Auth_RulePasses("Verified Member")){
WA_Auth_RestrictAccess("../awaiting_verification.php");
}
?>
to:
?php
if (!WA_Auth_RulePasses("Logged in to users")){
WA_Auth_RestrictAccess("../users_LogIn.php");
}
?>