]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
added some debugging stuff
authorEvan Prodromou <evan@prodromou.name>
Thu, 19 Jun 2008 13:59:44 +0000 (09:59 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 19 Jun 2008 13:59:44 +0000 (09:59 -0400)
darcs-hash:20080619135944-84dde-948447f0e5e7524c64a5538d145d8c52bf4206a9.gz

lib/openid.php

index 111cc4a0cb4f235f16c0ff6acff392613b9b2eef..a19bfc57f3b2a330aba2a7419a023b1fa4f70864 100644 (file)
@@ -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);