summaryrefslogtreecommitdiffstats
path: root/examples/consumer/try_auth.php
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/try_auth.php
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/try_auth.php')
-rw-r--r--examples/consumer/try_auth.php4
1 files changed, 2 insertions, 2 deletions
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() {