1
0
Fork 0

One more non-camelCase variable.

pull/6094/head
Stefan Grootscholten 2017-01-29 15:55:37 +01:00
parent 3ccaac619b
commit 966d0bec10
1 changed files with 3 additions and 3 deletions

View File

@ -593,9 +593,9 @@ class RemoteFilesystem
$auth = $this->io->getAuthentication($this->originUrl); $auth = $this->io->getAuthentication($this->originUrl);
if ($auth['username'] !== 'x-token-auth') { if ($auth['username'] !== 'x-token-auth') {
$bitbucketUtil = new Bitbucket($this->io, $this->config); $bitbucketUtil = new Bitbucket($this->io, $this->config);
$access_token = $bitbucketUtil->requestToken($this->originUrl, $auth['username'], $auth['password']); $accessToken = $bitbucketUtil->requestToken($this->originUrl, $auth['username'], $auth['password']);
if (! empty($access_token)) { if (! empty($accessToken)) {
$this->io->setAuthentication($this->originUrl, 'x-token-auth', $access_token); $this->io->setAuthentication($this->originUrl, 'x-token-auth', $accessToken);
$askForOAuthToken = false; $askForOAuthToken = false;
} }
} else { } else {