X-Git-Url: http://git.pjr.cc/?a=blobdiff_plain;f=authserver%2Flib%2Flib.php;h=4ec23898a8aa3511ce730c78bf4a27fe85f5cc9e;hb=2e2593d79cc3b24e0db34ec434e7f4383cf3651d;hp=6b4e7718c07afcff5f87f98861927b92b62299f5;hpb=7cdd4cb7ea1bec4975802863a1143da1369d288c;p=ga4php.git diff --git a/authserver/lib/lib.php b/authserver/lib/lib.php index 6b4e771..4ec2389 100644 --- a/authserver/lib/lib.php +++ b/authserver/lib/lib.php @@ -12,6 +12,7 @@ define("MSG_SET_USER_PASSWORD", 5); define("MSG_SET_USER_REALNAME", 6); define("MSG_SET_USER_TOKEN", 7); define("MSG_SET_USER_TOKEN_TYPE", 8); +define("MSG_GET_USERS", 9); if(file_exists("../../lib/ga4php.php")) require_once("../../lib/ga4php.php"); if(file_exists("../lib/ga4php.php")) require_once("../lib/ga4php.php"); @@ -76,7 +77,7 @@ class gaasGA extends GoogleAuthenticator { // we need to check if the user exists, and if so put the data, if not create the data $sql = "select * from users where users_username='$username'"; - $res = $dbOject->query($sql); + $res = $dbObject->query($sql); if($res->fetchColumn() > 0) { // do update $sql = "update users set users_tokendata='$data' where users_username='$username'";