HS 2.0 server: Show whether credential is machine managed

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2018-10-08 15:31:55 +03:00 committed by Jouni Malinen
parent eb83e81e31
commit f718e5e22c
1 changed files with 3 additions and 0 deletions

View File

@ -191,6 +191,9 @@ if ($rem == "") {
} }
echo "<br>\n"; 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\" " . echo "<form>Policy: <select name=\"policy\" " .
"onChange=\"window.location='users.php?cmd=policy&id=" . "onChange=\"window.location='users.php?cmd=policy&id=" .
$row['rowid'] . "&policy=' + this.value;\">\n"; $row['rowid'] . "&policy=' + this.value;\">\n";