X-Git-Url: http://git.pjr.cc/?p=ga4php.git;a=blobdiff_plain;f=authserver%2Fwww%2Findex.php;h=fa6f6df4abab23054dc73c90dd322b9ba5d32dc2;hp=a893e2c34dbcea92158b714cd550b0acb78db71e;hb=a5bc0d133aabe8a6f52c8fc24a955796e93299fe;hpb=34cbcba6d0f7c0a92c849545712cc5ce7ec03f97 diff --git a/authserver/www/index.php b/authserver/www/index.php index a893e2c..fa6f6df 100644 --- a/authserver/www/index.php +++ b/authserver/www/index.php @@ -11,5 +11,76 @@ * then user admin would be less disconnected. I.e. if a user was deleted from AD, their token * data should disappear with them. */ +require_once("actions.php"); +// the logged in component +if($loggedin) { +?> +

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