X-Git-Url: http://git.pjr.cc/?a=blobdiff_plain;f=authserver%2Fwww%2Fadmin.php;h=7f2c8a39f3efe3a38a5242b674efc8e41d9e1cd2;hb=684d7cc6c2ce6ba3f1ca5c48dda5c4efa9448455;hp=e214751ec30f5cdbf1b1341b5f9ea3856175420f;hpb=1e9b1b3a5c4dd1f033ae5f3145d7bb7bcd73a4d6;p=ga4php.git
diff --git a/authserver/www/admin.php b/authserver/www/admin.php
index e214751..7f2c8a3 100644
--- a/authserver/www/admin.php
+++ b/authserver/www/admin.php
@@ -17,10 +17,78 @@ require_once("admin_actions.php");
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
-
+
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