all log ins fail
What would cause all log ins to fail?
Both the registration page and log in page are encrypted.
Users were created after the encrytion was applaied.
no errors reported but the url says this: MySite.com/no_access.php?accesscheck=%2Fadmin%2Fadmin_home.php
here is the log in script.
<?php require_once("../WA_SecurityAssist/WA_SHA1Encryption.php"); ?>
<?php require_once('../Connections/reservations2.php');?>
<?php require_once( "../WA_SecurityAssist/Helper_PHP.php" ); ?><?php
if($_SERVER["REQUEST_METHOD"] == "POST"){
$WA_Auth_Parameter = array(
"connection" => $reservations2,
"database" => $database_reservations2,
"tableName" => "users",
"columns" => explode($WA_Auth_Separator,"UserName".$WA_Auth_Separator."UserPassword"),
"columnValues" => explode($WA_Auth_Separator,"".((isset($_POST["username"]))?$_POST["username"]:"") ."".$WA_Auth_Separator."".WA_SHA1Encryption(((isset($_POST["userpassword"]))?$_POST["userpassword"]:"")) .""),
"columnTypes" => explode($WA_Auth_Separator,"text".$WA_Auth_Separator."text"),
"sessionColumns" => explode($WA_Auth_Separator,"UserId".$WA_Auth_Separator."UserLevel".$WA_Auth_Separator."UserName"),
"sessionNames" => explode($WA_Auth_Separator,"UserId".$WA_Auth_Separator."users_UserLevel".$WA_Auth_Separator."UserName"),
"successRedirect" => "admin_home.php",
"failRedirect" => "no_access.php",
"gotoPreviousURL" => FALSE,
"keepQueryString" => TRUE
);
WA_AuthenticateUser($WA_Auth_Parameter);
}
?>