summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/consumer/index.php2
-rw-r--r--examples/consumer/try_auth.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/consumer/index.php b/examples/consumer/index.php
index 4096ded..235f7bb 100644
--- a/examples/consumer/index.php
+++ b/examples/consumer/index.php
@@ -51,7 +51,7 @@
<form method="get" action="try_auth.php">
Identity&nbsp;URL:
<input type="hidden" name="action" value="verify" />
- <input type="text" name="openid_url" value="" />
+ <input type="text" name="openid_identifier" value="" />
<input type="submit" value="Verify" />
</form>
</div>
diff --git a/examples/consumer/try_auth.php b/examples/consumer/try_auth.php
index 09d680f..664d40b 100644
--- a/examples/consumer/try_auth.php
+++ b/examples/consumer/try_auth.php
@@ -6,13 +6,13 @@ session_start();
function getOpenIDURL() {
// Render a default page if we got a submission without an openid
// value.
- if (empty($_GET['openid_url'])) {
+ if (empty($_GET['openid_identifier'])) {
$error = "Expected an OpenID URL.";
include 'index.php';
exit(0);
}
- return $_GET['openid_url'];
+ return $_GET['openid_identifier'];
}
function getScheme() {