changed report headers, issue #427
fixed pass hash ajax sending with astguiclient.php git-svn-id: svn://192.168.202.10@2207 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -50,7 +50,7 @@ if (isset($_GET["protocol"])) {$protocol=$_GET["protocol"];}
|
||||
elseif (isset($_POST["protocol"])) {$protocol=$_POST["protocol"];}
|
||||
|
||||
$user=preg_replace("/[^0-9a-zA-Z]/","",$user);
|
||||
$pass=preg_replace("/[^0-9a-zA-Z]/","",$pass);
|
||||
$pass=preg_replace("/\'|\"|\\\\|;| /","",$pass);
|
||||
$session_name = preg_replace("/\'|\"|\\\\|;/","",$session_name);
|
||||
$server_ip = preg_replace("/\'|\"|\\\\|;/","",$server_ip);
|
||||
|
||||
@@ -66,7 +66,7 @@ $NOW_TIME = date("Y-m-d H:i:s");
|
||||
if (!isset($query_date)) {$query_date = $NOW_DATE;}
|
||||
|
||||
$auth=0;
|
||||
$auth_message = user_authorization($user,$pass,'',0,0,0);
|
||||
$auth_message = user_authorization($user,$pass,'',0,1,0);
|
||||
if ($auth_message == 'GOOD')
|
||||
{$auth=1;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user