summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/consumer/finish_auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/consumer/finish_auth.php b/examples/consumer/finish_auth.php
index dbc721d..527291b 100644
--- a/examples/consumer/finish_auth.php
+++ b/examples/consumer/finish_auth.php
@@ -22,7 +22,7 @@ function run() {
// This means the authentication succeeded; extract the
// identity URL and Simple Registration data (if it was
// returned).
- $openid = $response->identity_url;
+ $openid = $response->getDisplayIdentifier();
$esc_identity = htmlspecialchars($openid, ENT_QUOTES);
$success = sprintf('You have successfully verified ' .