aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-12-03 21:38:20 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-03 21:38:20 (GMT)
commit6ff4241797c516e4d720173d503636c7ea399548 (patch)
tree6817331700d4c907e4eac5ae5d5c80136be1dd35
parent11adf76a71ce01dc87b78a0dc28621641c773673 (diff)
downloadhostap-6ff4241797c516e4d720173d503636c7ea399548.zip
hostap-6ff4241797c516e4d720173d503636c7ea399548.tar.gz
hostap-6ff4241797c516e4d720173d503636c7ea399548.tar.bz2
HS 2.0 server: Include phase2=0 users for TLS in the user list
EAP-TLS users are not really using phase2, so do not require the database to be set in a way that claim that inaccurately. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
-rw-r--r--hs20/server/www/users.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/hs20/server/www/users.php b/hs20/server/www/users.php
index f546de3..ea5995c 100644
--- a/hs20/server/www/users.php
+++ b/hs20/server/www/users.php
@@ -319,7 +319,7 @@ echo "<br>\n";
echo "<table border=1 cellspacing=0 cellpadding=0>\n";
echo "<tr><th>User<th>Realm<th><small>Remediation</small><th>Policy<th><small>Account type</small><th><small>Phase 2 method(s)</small><th>DevId<th>MAC Address<th>T&C\n";
-$res = $db->query('SELECT rowid,* FROM users WHERE phase2=1 ORDER BY identity');
+$res = $db->query('SELECT rowid,* FROM users WHERE (phase2=1 OR methods=\'TLS\') ORDER BY identity');
foreach ($res as $row) {
echo "<tr><td><a href=\"users.php?id=" . $row['rowid'] . "\"> " .
$row['identity'] . " </a>";