]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
HS 2.0 server: Clarify signup page options
authorJouni Malinen <jouni@codeaurora.org>
Mon, 8 Oct 2018 12:08:58 +0000 (15:08 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 11 Oct 2018 09:12:30 +0000 (12:12 +0300)
Make it clearer that there are three different types of credentials that
can be provisioned.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
hs20/server/www/signup.php

index aeb2f6831b8e24cda08f28c44a85527c31bcca7c..25dc332029cf4a4e1954d42f942fe9d3f42c9102 100644 (file)
@@ -23,11 +23,17 @@ $realm = $row['realm'];
 
 echo "<h3>Sign up for a subscription - $realm</h3>\n";
 
+echo "<p>This page can be used to select between three different types of subscriptions for testing purposes.</p>\n";
+
+echo "<h4>Option 1 - shared free access credential</h4>\n";
+
 $row = $db->query("SELECT value FROM osu_config WHERE realm='$realm' AND field='free_account'")->fetch();
 if ($row && strlen($row['value']) > 0) {
   echo "<p><a href=\"free.php?session_id=$id\">Sign up for free access</a></p>\n";
 }
 
+echo "<h4>Option 2 - username/password credential</h4>\n";
+
 echo "<form action=\"add-mo.php\" method=\"POST\">\n";
 echo "<input type=\"hidden\" name=\"id\" value=\"$id\">\n";
 ?>
@@ -39,6 +45,8 @@ Password: <input type="password" name="password"><br>
 </form>
 
 <?php
+echo "<h4>Option 3 - client certificate credential</h4>\n";
+
 echo "<p><a href=\"cert-enroll.php?id=$id\">Enroll a client certificate</a></p>\n"
 ?>