added hardware token add/list methods.
[ga4php.git] / gaas / lib / gaasdLib.php
index f854666..6d56e31 100644 (file)
@@ -113,6 +113,12 @@ function hasToken($username)
        return true;
 }
 
+function createUserInDB($username, $realname)
+{
+       $db = getDB();
+       
+       $sql = "insert into users values (NULL, '$username', '$realname', '', '$data', '', '1', '')";           
+}
 
 // a funciton to deal with Config Vars
 function confGetVal($varname)