From 0938694abe67f09a9a21f922a3178a6be9e59e63 Mon Sep 17 00:00:00 2001 From: paulr Date: Mon, 6 Dec 2010 16:47:45 +1100 Subject: [PATCH] renamed index to admin --- authserver/www/admin.php | 86 ++++++++++++++++++++++++++++++++++++++++++++++ authserver/www/index.php | 86 ---------------------------------------------- 2 files changed, 86 insertions(+), 86 deletions(-) create mode 100644 authserver/www/admin.php delete mode 100644 authserver/www/index.php diff --git a/authserver/www/admin.php b/authserver/www/admin.php new file mode 100644 index 0000000..fa6f6df --- /dev/null +++ b/authserver/www/admin.php @@ -0,0 +1,86 @@ + +

GAAS Manager

+Welcome to the Google Authenticator Authentication Server Manager Application
+

Users

+ + +getUsers(); +foreach($users as $user) { + $username = $user["username"]; + + if($user["realname"] == "") $realname = ""; + else $realname = $user["realname"]; + + if($user["haspass"]) $haspass = "Yes Delete Password"; + else $haspass = "No "; + + if($user["hastoken"]) $hastoken = "Yes"; + else $hastoken = "No"; + + if($user["otk"]!="") $otk = "Get"; + else $otk = "Already Claimed"; + + $delete = "Delete"; + + echo ""; + echo ""; +} +?> +
UsernameRealNameHas Password?Has Token?OTKUpdateDelete
$username$haspass$hastoken$otk$delete

+
Create User:
+ +

Radius Clients

+Not yet implemented + +
Logout + + +

GAAS Manager Login

+Login Failed"; +} +?> +
+ + + + +
Username
Password
+
+ \ No newline at end of file diff --git a/authserver/www/index.php b/authserver/www/index.php deleted file mode 100644 index fa6f6df..0000000 --- a/authserver/www/index.php +++ /dev/null @@ -1,86 +0,0 @@ - -

GAAS Manager

-Welcome to the Google Authenticator Authentication Server Manager Application
-

Users

- - -getUsers(); -foreach($users as $user) { - $username = $user["username"]; - - if($user["realname"] == "") $realname = ""; - else $realname = $user["realname"]; - - if($user["haspass"]) $haspass = "Yes Delete Password"; - else $haspass = "No "; - - if($user["hastoken"]) $hastoken = "Yes"; - else $hastoken = "No"; - - if($user["otk"]!="") $otk = "Get"; - else $otk = "Already Claimed"; - - $delete = "Delete"; - - echo ""; - echo ""; -} -?> -
UsernameRealNameHas Password?Has Token?OTKUpdateDelete
$username$haspass$hastoken$otk$delete

-
Create User:
- -

Radius Clients

-Not yet implemented - -
Logout - - -

GAAS Manager Login

-Login Failed"; -} -?> -
- - - - -
Username
Password
-
- \ No newline at end of file -- 1.7.0.4