X-Git-Url: http://git.pjr.cc/?a=blobdiff_plain;f=authserver%2Fwww%2Fadmin.php;h=7f2c8a39f3efe3a38a5242b674efc8e41d9e1cd2;hb=c3c37cd9f486175adf0351de80c19efd02892ca6;hp=b47978fe406a487ada7748e82aed969b65bbfcdd;hpb=e2e22b45b14cae630587bc662a8bfcda98b04510;p=ga4php.git
diff --git a/authserver/www/admin.php b/authserver/www/admin.php
index b47978f..7f2c8a3 100644
--- a/authserver/www/admin.php
+++ b/authserver/www/admin.php
@@ -11,16 +11,84 @@
* 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) {
?>
GAAS Manager
-Welcome to the Google Authenticator Authentication Server Manager Application
+Welcome to the Google Authenticator Authentication Server Manager Application - Show Help
+
+".$_REQUEST["message"]."";
+}
+if(isset($_REQUEST["error"])) {
+ echo "".$_REQUEST["error"]."";
+}
+
+
+if(isset($_REQUEST["showhelp"])) {
+ echo "
";
+ ?>
+On this page, you create users and manage their tokens and passwords. A few notes,
+ Passwords are *ONLY* for this page, if you assign a password to a user they can login here
+and edit anyone, including you
+ OTK/One-Time-Keys are the QRcode for provisioning a GA token, it can only be viewed once
+and once viewed is deleted. If you need a new one, you need to re-create a key.
+ TOTP tokens are time based tokens that change every 30 seconds, HOTP tokens are event tokens
+that change everytime they are used or generated
+ In the OTK, the "Get (User URL)" link is a link you can send to a user to retrieve their key
+
+
+Editing user,
+
+getUserTokenType($username)=="HOTP") {
+?>
+
+
+
+
+
Users
-
+
+Got One Time Key for user $username, this one-time-key can only be retrieved once, after that it is deleted
";
+ echo "
";
+}
+
+?>
Radius Clients
Not yet implemented
-
Logout
+
Logout Home
GAAS Manager Login
Login Failed";
+ echo "".$_REQUEST["message"]."";
+}
+if(isset($_REQUEST["error"])) {
+ echo "".$_REQUEST["error"]."";
}
?>
\ No newline at end of file