mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:33:31 +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
|
|
@ -519,7 +519,7 @@ CURLcode get_args(struct OperationConfig *config, const size_t i)
|
|||
bool last = (config->next ? FALSE : TRUE);
|
||||
|
||||
/* Check we have a password for the given host user */
|
||||
if(config->userpwd && !config->xoauth2_bearer) {
|
||||
if(config->userpwd && !config->oauth_bearer) {
|
||||
result = checkpasswd("host", i, last, &config->userpwd);
|
||||
if(result)
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue