oauth2: Don't use XOAUTH2 in OAuth 2.0 variables

This commit is contained in:
Steve Holme
2015-09-04 07:11:09 +01:00
parent 4e3d396900
commit eaa98cef8d
8 changed files with 14 additions and 13 deletions

View File

@@ -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;