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:
mattf
2016-04-28 22:50:22 +00:00
parent 298da6e1f0
commit 605e80803a
26 changed files with 32 additions and 28 deletions
+1 -1
View File
@@ -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;