Skip to content

Commit

Permalink
Update Digest.php
Browse files Browse the repository at this point in the history
changed basic auth to null (no auth) on the initial server call for digest.
  • Loading branch information
timalive committed Nov 9, 2017
1 parent 65f36a5 commit 02bb909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Client/Auth/Digest.php
Expand Up @@ -83,7 +83,7 @@ protected function _getServerInfo(Request $request, $credentials)
$response = $this->_client->get(
$request->getUri(),
[],
['auth' => ['type' => 'basic']]
['auth' => ['type' => null]]
);

if (!$response->getHeader('WWW-Authenticate')) {
Expand Down

0 comments on commit 02bb909

Please sign in to comment.