aboutsummaryrefslogtreecommitdiffstats
path: root/hs20
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-10-08 12:31:55 (GMT)
committerJouni Malinen <j@w1.fi>2018-10-11 09:12:30 (GMT)
commitf718e5e22c2bf8523fcc016ff35eeb438e8ee6e7 (patch)
treeed76d2681806fd7f48543cf21efd0dce93ecfe32 /hs20
parenteb83e81e311b846c9e161b40ea282fe1916588fb (diff)
downloadhostap-f718e5e22c2bf8523fcc016ff35eeb438e8ee6e7.zip
hostap-f718e5e22c2bf8523fcc016ff35eeb438e8ee6e7.tar.gz
hostap-f718e5e22c2bf8523fcc016ff35eeb438e8ee6e7.tar.bz2
HS 2.0 server: Show whether credential is machine managed
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'hs20')
-rw-r--r--hs20/server/www/users.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/hs20/server/www/users.php b/hs20/server/www/users.php
index 869adf6..f546de3 100644
--- a/hs20/server/www/users.php
+++ b/hs20/server/www/users.php
@@ -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";