diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-06-19 09:59:44 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-06-19 09:59:44 -0400 |
commit | 53706623b22dba49c9140e62dc4f15ad3e2553a7 (patch) | |
tree | 0ebe38321a7330e3c75c7e909f95f4fbcda77900 /lib/openid.php | |
parent | 3c3239610973caf95b0cf7bf43dac677757d9232 (diff) |
added some debugging stuff
darcs-hash:20080619135944-84dde-948447f0e5e7524c64a5538d145d8c52bf4206a9.gz
Diffstat (limited to 'lib/openid.php')
-rw-r--r-- | lib/openid.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/openid.php b/lib/openid.php index 111cc4a0c..a19bfc57f 100644 --- a/lib/openid.php +++ b/lib/openid.php @@ -96,8 +96,14 @@ function oid_check_immediate($openid_url, $backto=NULL) { if (!$backto) { $backto = $_SERVER['PHP_SELF']; } + common_debug('going back to "' . $backto . '"', __FILE__); + common_ensure_session(); + $_SESSION['openid_immediate_backto'] = $backto; + common_debug('passed-in variable is "' . $backto . '"', __FILE__); + common_debug('session variable is "' . $_SESSION['openid_immediate_backto'] . '"', __FILE__); + oid_authenticate($openid_url, 'finishimmediate', true); |