X-Git-Url: http://git.pjr.cc/?p=ga4php.git;a=blobdiff_plain;f=authserver%2Fwww%2Fadmin.php;h=5f2364d58d1415bd7c33bd37a83cae5ffc49ada1;hp=b35a2270771e46b07f6aa79856423daf78654d73;hb=fd26ac6447a5c17ea654dcaa0a80a2a727ea4fe5;hpb=d4590a3f34021216c9da29786922fddaf804d113 diff --git a/authserver/www/admin.php b/authserver/www/admin.php index b35a227..5f2364d 100644 --- a/authserver/www/admin.php +++ b/authserver/www/admin.php @@ -36,6 +36,8 @@ On this page, you create users and manage their tokens and passwords. A few note 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 delete the user and re-create. +
  • TOTP tokens are time based tokens that change every 30 seconds, HOTP tokens are event tokens +that change everytime they are used or generated Delete Password"; else $haspass = "No"; - if($user["hastoken"]) $hastoken = "Yes Re-Create (hotp) Re-Create (totp) Delete"; - else $hastoken = "No Create (hotp) Create (totp)"; - - if($user["otk"]!="") $otk = "Get"; + if($user["otk"]=="deleted") $otk = "OTK Was Not Picked Up"; + else if($user["otk"]!="") $otk = "Get"; else $otk = "Already Claimed"; + if($user["hastoken"]) $hastoken = "Yes Re-Create (HOTP) Re-Create (TOTP) Delete"; + else { + $hastoken = "No Create (HOTP) Create (TOTP)"; + if($user["otk"]!="deleted")$otk = "No Token Exists"; + } + $delete = "Delete"; echo "";