Fixed user_authorization bug in agent code
git-svn-id: svn://192.168.202.10@2524 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -168,7 +168,7 @@ $month_old = mktime(0, 0, 0, date("m"), date("d")-7, date("Y"));
|
||||
$past_month_date = date("Y-m-d H:i:s",$month_old);
|
||||
|
||||
$auth=0;
|
||||
$auth_message = user_authorization($user,$pass,'',1,0,1);
|
||||
$auth_message = user_authorization($user,$pass,'',1,0,1,0);
|
||||
if (preg_match("/^GOOD/",$auth_message))
|
||||
{
|
||||
$auth=1;
|
||||
|
||||
Reference in New Issue
Block a user