]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
HS 2.0 server: Show whether credential is machine managed
authorJouni Malinen <jouni@codeaurora.org>
Mon, 8 Oct 2018 12:31:55 +0000 (15:31 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 11 Oct 2018 09:12:30 +0000 (12:12 +0300)
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
hs20/server/www/users.php

index 869adf67753718d1408062e3fd5514a9c636f72c..f546de3a95de5bd40b75b3e8938ab36ffe457031 100644 (file)
@@ -191,6 +191,9 @@ if ($rem == "") {
 }
 echo "<br>\n";
 
+if (strncmp($row['identity'], "cert-", 5) != 0)
+   echo "Machine managed: " . ($row['machine_managed'] == "1" ? "TRUE" : "FALSE") . "<br>\n";
+
 echo "<form>Policy: <select name=\"policy\" " .
        "onChange=\"window.location='users.php?cmd=policy&id=" .
        $row['rowid'] . "&policy=' + this.value;\">\n";