I am talking about the code below. what is causing the check to verify that the email exists then it redirects to appropriate page.
<?php
if(isset($_POST["ForgotPassword_submit"])){
//WA SecurityAssist Encrypted Email object="mail"
$WA_Auth_Parameter = array(
"encrypted" => true,
"connection" => $socialDB,
"database" => $database_socialDB,
"tableName" => "users",
"keyColumn" => "idu",
"filterColumn" => "email",
"filterEncryption" => "",
"columnValue" => "".((isset($_POST["Forgot_Password_group_email"]))?$_POST["Forgot_Password_group_email"]:"") ."",
"columnType" => "text",
"usernameColumn" => "username",
"usernameEncryption" => "",
"passwordColumn" => "password",
"passwordEncryption" => "sha1",
"selectColumns" => array("username","password","email"),
"sessionVariables" => array(""),
"successRedirect" => "login.php?emailedPassword=1",
"failRedirect" => "forgotpassword.php?notFound=1",
"returnURL" => "forgotpassword.php",
"keepQueryString" => TRUE,
"toAddressColumn" => "email",
"toAddressEncryption" => "",
"fromAddress" => "email@firstez.com",
"fromAddressDisplay" => "",
"subject" => "Forgot Password",
"mailBody" => "webassist/security_assist/email/forgotpassword_email4.php",
"emailFunction" => "WA_SecurityAssist_Email_1_SendEncryptedMail"
);
WA_Auth_ForgotEncryptedPassword($WA_Auth_Parameter);
}
?>