summaryrefslogtreecommitdiffstats
path: root/examples/consumer/try_auth.php
diff options
context:
space:
mode:
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() {