Restrict access to page based on login and database value
This is an easy one I'm sure, but I'm a bit stuck
I have a SecurityAssist login page working fine, on correct login it takes me to a secured page.
What I want to do is also check that a value in my database for that user = Y (so via a CMS their access can be easily restricted)
I've added another Session Value so my user_ID and user_live sessions are:
"sessionColumns" => explode($WA_Auth_Separator,"user_ID".$WA_Auth_Separator."live"),
"sessionNames" => explode($WA_Auth_Separator,"user_ID".$WA_Auth_Separator."user_live"),
and on my protected page I've tried editing the Rules (as per the screen grab) to try and check if the 'live' column is set to Y or not...
I know this is glaringly wrong somewhere... can you set me straight please, many thanks as always