1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-25 02:22:57 +01:00

Loosening check for oauth_token. Closes #287.

This commit is contained in:
Michael Dowling 2013-04-07 12:46:19 -07:00
parent 81f85f2a03
commit 910a36f4a4

View File

@ -174,7 +174,7 @@ class OauthPlugin implements EventSubscriberInterface
));
// Filter out oauth_token during temp token step, as in request_token.
if ($this->config['token'] !== false) {
if ($this->config['token']) {
$params->add('oauth_token', $this->config['token']);
}