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:
parent
81f85f2a03
commit
910a36f4a4
@ -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']);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user