diff options
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) { |