aboutsummaryrefslogtreecommitdiffstats
path: root/hs20
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-10-08 12:08:58 (GMT)
committerJouni Malinen <j@w1.fi>2018-10-11 09:12:30 (GMT)
commitaf284f8a8e6e1ce03541e845dbe969a43c2c9275 (patch)
tree7d7f7cf5846cef5395862c9ae279868b94d7144b /hs20
parentdd76afff65075ce42f76513a94a467cda4ed5fa9 (diff)
downloadhostap-af284f8a8e6e1ce03541e845dbe969a43c2c9275.zip
hostap-af284f8a8e6e1ce03541e845dbe969a43c2c9275.tar.gz
hostap-af284f8a8e6e1ce03541e845dbe969a43c2c9275.tar.bz2
HS 2.0 server: Clarify signup page options
Make it clearer that there are three different types of credentials that can be provisioned. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'hs20')
-rw-r--r--hs20/server/www/signup.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/hs20/server/www/signup.php b/hs20/server/www/signup.php
index aeb2f68..25dc332 100644
--- a/hs20/server/www/signup.php
+++ b/hs20/server/www/signup.php
@@ -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"
?>