From ac262b9b316777bed9e908b8b85200b8a14256f7 Mon Sep 17 00:00:00 2001 From: paulr Date: Tue, 8 Feb 2011 01:21:25 +1100 Subject: [PATCH] small change to add hardware tokens to database. --- authserver/lib/lib.php | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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; -- 1.7.0.4