summaryrefslogtreecommitdiffstats
path: root/examples/consumer
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-10-02 22:11:10 +0000
committertailor <cygnus@janrain.com>2007-10-02 22:11:10 +0000
commit9b28acd2c031fbaee1a925b1f11652b13ef2288c (patch)
treef17af62c7c77b4030d67c8b576e413b644685dd6 /examples/consumer
parenta0105bf1d27dac272c3ec2b4828a8b9f237ad998 (diff)
downloadphp-openid-9b28acd2c031fbaee1a925b1f11652b13ef2288c.zip
php-openid-9b28acd2c031fbaee1a925b1f11652b13ef2288c.tar.gz
php-openid-9b28acd2c031fbaee1a925b1f11652b13ef2288c.tar.bz2
[project @ Change name of OpenID form field in example consumer]
Diffstat (limited to 'examples/consumer')
-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() {