mirror of
https://github.com/curl/curl.git
synced 2026-08-08 03:12:56 +03:00
oauth2: Don't use XOAUTH2 in OAuth 2.0 variables
This commit is contained in:
parent
4e3d396900
commit
eaa98cef8d
8 changed files with 14 additions and 13 deletions
|
|
@ -851,8 +851,8 @@ static CURLcode operate_do(struct GlobalConfig *global,
|
|||
else if(!config->use_metalink)
|
||||
my_setopt(curl, CURLOPT_HEADER, config->include_headers?1L:0L);
|
||||
|
||||
if(config->xoauth2_bearer)
|
||||
my_setopt_str(curl, CURLOPT_XOAUTH2_BEARER, config->xoauth2_bearer);
|
||||
if(config->oauth_bearer)
|
||||
my_setopt_str(curl, CURLOPT_XOAUTH2_BEARER, config->oauth_bearer);
|
||||
|
||||
#if !defined(CURL_DISABLE_PROXY)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue