summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortailor <cygnus@cprogrammer.org>2007-11-13 02:47:50 +0000
committertailor <cygnus@cprogrammer.org>2007-11-13 02:47:50 +0000
commit18999ec998b5d1903d11343a366141db39d3b9aa (patch)
treefaa667525c75a7f619200dd5ff39696f7e406af9
parent6bc772385bd9134d054b816fee8f2f19bb3a55df (diff)
downloadphp-openid-18999ec998b5d1903d11343a366141db39d3b9aa.zip
php-openid-18999ec998b5d1903d11343a366141db39d3b9aa.tar.gz
php-openid-18999ec998b5d1903d11343a366141db39d3b9aa.tar.bz2
[project @ Fix example consumer complete() call]
-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 f42de0a..dbc721d 100644
--- a/examples/consumer/finish_auth.php
+++ b/examples/consumer/finish_auth.php
@@ -9,7 +9,7 @@ function run() {
// Complete the authentication process using the server's
// response.
$return_to = getReturnTo();
- $response = $consumer->complete(null, $return_to);
+ $response = $consumer->complete($return_to);
// Check the response status.
if ($response->status == Auth_OpenID_CANCEL) {