From: Zach Copley Date: Tue, 12 Oct 2010 19:25:34 +0000 (-0700) Subject: Output a log message when issuing a request token X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a77bc113269e88d264075d331570dccf662b9640;p=quix0rs-gnu-social.git Output a log message when issuing a request token --- diff --git a/actions/apioauthrequesttoken.php b/actions/apioauthrequesttoken.php index 825460f93c..478d2dbfc4 100644 --- a/actions/apioauthrequesttoken.php +++ b/actions/apioauthrequesttoken.php @@ -100,6 +100,16 @@ class ApiOauthRequestTokenAction extends ApiOauthAction // check signature and issue a new request token $token = $server->fetch_request_token($req); + common_log( + LOG_INFO, + sprintf( + "API OAuth - Issued request token %s for consumer %s with oauth_callback %s", + $token->key, + $req->get_parameter('oauth_consumer_key'), + "'" . $req->get_parameter('oauth_callback') ."'" + ) + ); + // return token to the client $this->showRequestToken($token);