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 bee5743..a75811c 100644
--- a/examples/consumer/finish_auth.php
+++ b/examples/consumer/finish_auth.php
@@ -23,7 +23,7 @@ if ($response->status == Auth_OpenID_CANCEL) {
$success .= ' (XRI CanonicalID: '.$response->endpoint->canonicalID.') ';
}
- $sreg = $response->extensionResponse('sreg');
+ $sreg = $response->extensionResponse('sreg', true);
if (@$sreg['email']) {
$success .= " You also returned '".$sreg['email']."' as your email.";