X-Git-Url: http://git.pjr.cc/?p=ga4php.git;a=blobdiff_plain;f=authserver%2Fwww%2Fadmin.php;h=e214751ec30f5cdbf1b1341b5f9ea3856175420f;hp=b47978fe406a487ada7748e82aed969b65bbfcdd;hb=1e9b1b3a5c4dd1f033ae5f3145d7bb7bcd73a4d6;hpb=e2e22b45b14cae630587bc662a8bfcda98b04510 diff --git a/authserver/www/admin.php b/authserver/www/admin.php index b47978f..e214751 100644 --- a/authserver/www/admin.php +++ b/authserver/www/admin.php @@ -11,7 +11,7 @@ * 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"); +require_once("admin_actions.php"); // the logged in component if($loggedin) { @@ -20,7 +20,7 @@ if($loggedin) { Welcome to the Google Authenticator Authentication Server Manager Application

Users

- +getUsers(); foreach($users as $user) { @@ -35,7 +35,7 @@ foreach($users as $user) { if($user["hastoken"]) $hastoken = "Yes"; else $hastoken = "No"; - if($user["otk"]!="") $otk = "Get"; + if($user["otk"]!="") $otk = "Get"; else $otk = "Already Claimed"; $delete = "Delete"; @@ -47,6 +47,15 @@ foreach($users as $user) {
UsernameRealNameHas Password?Has Token?OTKUpdateDelete
UsernameRealNameHas Password?Has Token?One Time KeyUpdateDelete

Create User(s) - Enter a comma seperated list of names:
+Got One Time Key for user $username, this one-time-key can only be retrieved once, after that it is deleted
"; + echo "\"one
"; +} + +?>

Radius Clients

Not yet implemented