From: paulr Date: Mon, 7 Feb 2011 14:21:25 +0000 (+1100) Subject: small change to add hardware tokens to database. X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=ac262b9b316777bed9e908b8b85200b8a14256f7;p=ga4php.git small change to add hardware tokens to database. --- diff --git a/authserver/lib/lib.php b/authserver/lib/lib.php index 76af285..6ae1d81 100644 --- a/authserver/lib/lib.php +++ b/authserver/lib/lib.php @@ -87,6 +87,8 @@ function getDatabase() $dbobject->query($sql); $sql = 'CREATE TABLE "radclients" ("rad_id" INTEGER PRIMARY KEY AUTOINCREMENT,"rad_name" TEXT, "rad_ip" TEXT, "rad_secret" TEXT, "rad_desc" TEXT);'; $dbobject->query($sql); + $sql = 'CREATE TABLE "hardwaretokens" ("tok_id" INTEGER PRIMARY KEY AUTOINCREMENT,"tok_name" TEXT, "tok_key" TEXT, "tok_type" TEXT);'; + $dbobject->query($sql); } return $dbobject;