X-Git-Url: http://git.pjr.cc/?a=blobdiff_plain;f=authserver%2Fwww%2Fadmin.php;h=d27777214351782417d1199f0b62a63fa9b2d302;hb=f10680a1827dd8e4c65eaaef810ee7fd498e5a1e;hp=bc61744d12f23eb5aab70e2d5eaa5780050a35be;hpb=39d98e8248f340408cc824f50c98c92d6405aa92;p=ga4php.git diff --git a/authserver/www/admin.php b/authserver/www/admin.php index bc61744..d277772 100644 --- a/authserver/www/admin.php +++ b/authserver/www/admin.php @@ -56,9 +56,25 @@ if(isset($_REQUEST["edituser"])) { +getUserTokenType($username)=="HOTP") { +?> +
+

Resync Tokens

+ + + +
Token One
Token Two
+ +
+ +
-

Custom Tokens - doesnt work yet


-For assiging in a user-created or hardware tokens
+

Custom Tokens


+For assiging in a user-created or hardware tokens.
+If you assign a token this way, any previous token is removed and forever gone.
Token Key (hex)
Token Type
+this page is for editing radius clients, it doesnt exist yet.. What you need to do is delete the client and re-add it... go back + +

Users

@@ -116,8 +137,30 @@ if(isset($_REQUEST["action"])) if($_REQUEST["action"] == "getotk") { ?>

Radius Clients

-Not yet implemented - + + +getRadiusClients(); +foreach($msg as $client) { + if($client["desc"]=="") $desc = "no description set"; + else $desc = $client["desc"]; + $clientname = $client["name"]; + $clientip = $client["ip"]; + echo ""; +} +?> +
NameIP AddressDescriptionDelete
$clientname$clientip$descDelete
+
+

Add a Radius Client

+
+ + + + + +
Client Name
Client IP
Client Secret
Client Description
+ +

Logout Home