From af284f8a8e6e1ce03541e845dbe969a43c2c9275 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 8 Oct 2018 15:08:58 +0300 Subject: [PATCH] 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 --- hs20/server/www/signup.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hs20/server/www/signup.php b/hs20/server/www/signup.php index aeb2f6831..25dc33202 100644 --- a/hs20/server/www/signup.php +++ b/hs20/server/www/signup.php @@ -23,11 +23,17 @@ $realm = $row['realm']; echo "

Sign up for a subscription - $realm

\n"; +echo "

This page can be used to select between three different types of subscriptions for testing purposes.

\n"; + +echo "

Option 1 - shared free access credential

\n"; + $row = $db->query("SELECT value FROM osu_config WHERE realm='$realm' AND field='free_account'")->fetch(); if ($row && strlen($row['value']) > 0) { echo "

Sign up for free access

\n"; } +echo "

Option 2 - username/password credential

\n"; + echo "
\n"; echo "\n"; ?> @@ -39,6 +45,8 @@ Password:
Option 3 - client certificate credential\n"; + echo "

Enroll a client certificate

\n" ?>