]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
more debug code
authorEvan Prodromou <evan@prodromou.name>
Mon, 2 Jun 2008 20:38:02 +0000 (16:38 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 2 Jun 2008 20:38:02 +0000 (16:38 -0400)
darcs-hash:20080602203802-84dde-f7f237da7c86fe38fd67629d0599c48929dfa619.gz

actions/userauthorization.php

index 617830e9a6d5011f04e953354716342dd92e6c6c..49f3c1b57db8e86837a8eb0af05c593af399bf84 100644 (file)
@@ -27,13 +27,16 @@ class UserauthorizationAction extends Action {
                        $this->send_authorization();
                } else {
                        try {
+                               common_debug('userauthorization.php - fetching request');
                                $req = $this->get_request();
                                if (!$req) {
                                        common_server_error(_t('Cannot find request'));
                                }
                                common_debug('userauthorization.php - $req = "'.print_r($req,TRUE).'"');
                                $server = common_oauth_server();
+                               common_debug('userauthorization.php - checking request version');
                                $server->get_version($req);
+                               common_debug('userauthorization.php - getting the consumer');
                                $consumer = $server->get_consumer($req);
                                common_debug('userauthorization.php - $consumer = "'.print_r($consumer,TRUE).'"');
                                $token = $server->get_token($req, $consumer, "request");