From: Jouni Malinen Date: Mon, 3 Dec 2018 21:38:20 +0000 (+0200) Subject: HS 2.0 server: Include phase2=0 users for TLS in the user list X-Git-Tag: hostap_2_8~828 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ff4241797c516e4d720173d503636c7ea399548;p=thirdparty%2Fhostap.git 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 --- diff --git a/hs20/server/www/users.php b/hs20/server/www/users.php index f546de3a9..ea5995c4f 100644 --- a/hs20/server/www/users.php +++ b/hs20/server/www/users.php @@ -319,7 +319,7 @@ echo "
\n"; echo "\n"; echo "
UserRealmRemediationPolicyAccount typePhase 2 method(s)DevIdMAC AddressT&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 "
" . $row['identity'] . " ";