X-Git-Url: http://git.pjr.cc/?p=ga4php.git;a=blobdiff_plain;f=gaas%2Flib%2FgaasdLib.php;fp=gaas%2Flib%2FgaasdLib.php;h=ab6b4adbf9d85721012111eeeb7690f9797e2244;hp=a2b50de42fda00b7422deb0e176bfd13f9ecac21;hb=6ae20292cc7aa6a712b492de306613192733e756;hpb=ed1c86a90a6aa87dfc8b90c2242697a73039bfad diff --git a/gaas/lib/gaasdLib.php b/gaas/lib/gaasdLib.php index a2b50de..ab6b4ad 100644 --- a/gaas/lib/gaasdLib.php +++ b/gaas/lib/gaasdLib.php @@ -51,7 +51,8 @@ function createDB() // users_tokendata is used by ga4php, users_otk is the qrcode data link if needed, // tokentype is the software/hardware token types - $sql = 'CREATE TABLE "users" ("users_id" INTEGER PRIMARY KEY AUTOINCREMENT,"users_username" TEXT, "users_realname" TEXT, "users_password" TEXT, "users_tokendata" TEXT, "users_otk" TEXT, "user_enabled" TEXT, "users_tokentype" TEXT);'; + $sql = 'CREATE TABLE "users" ("users_id" INTEGER PRIMARY KEY AUTOINCREMENT,"users_username" TEXT, "users_realname" TEXT, \ + "users_password" TEXT, "users_tokendata" TEXT, "users_qrcodeid" TEXT, "user_enabled" TEXT, "users_tokentype" TEXT);'; $dbobject->query($sql); $sql = 'CREATE TABLE "config" ("conf_id" INTEGER PRIMARY KEY AUTOINCREMENT,"conf_name" TEXT, "conf_value" TEXT);'; $dbobject->query($sql);