diff options
author | tailor <cygnus@cprogrammer.org> | 2007-11-13 01:58:00 +0000 |
---|---|---|
committer | tailor <cygnus@cprogrammer.org> | 2007-11-13 01:58:00 +0000 |
commit | 1f45f3f6f4b2691b8697fb52525cba2f79df7862 (patch) | |
tree | c21afb646796fe189e610de24eb4e52fcee54c7b /examples/consumer/finish_auth.php | |
parent | 5203594829f55e334f75f29adfab4f2ccc06bb4e (diff) | |
download | php-openid-1f45f3f6f4b2691b8697fb52525cba2f79df7862.zip php-openid-1f45f3f6f4b2691b8697fb52525cba2f79df7862.tar.gz php-openid-1f45f3f6f4b2691b8697fb52525cba2f79df7862.tar.bz2 |
[project @ Pass return_to to complete() in example consumer]
Diffstat (limited to 'examples/consumer/finish_auth.php')
-rw-r--r-- | examples/consumer/finish_auth.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/consumer/finish_auth.php b/examples/consumer/finish_auth.php index de38b31..f42de0a 100644 --- a/examples/consumer/finish_auth.php +++ b/examples/consumer/finish_auth.php @@ -8,7 +8,8 @@ function run() { // Complete the authentication process using the server's // response. - $response = $consumer->complete(); + $return_to = getReturnTo(); + $response = $consumer->complete(null, $return_to); // Check the response status. if ($response->status == Auth_OpenID_CANCEL) { |