Updated Guzzle client default config

update verify ssl setting to new version syntax

Change-Id: I8f48900e58fee172d417eed37666e07aa0985c2a
This commit is contained in:
Sebastian Marcet 2018-06-18 10:47:58 -07:00
parent 259768dca4
commit a32759f2dd

View File

@ -159,11 +159,9 @@ final class AccessTokenService implements IAccessTokenService
try {
$client = new Client([
'defaults' => [
'timeout' => Config::get('curl.timeout', 60),
'allow_redirects' => Config::get('curl.allow_redirects', false),
'verify' => Config::get('curl.verify_ssl_cert', true)
]
'timeout' => Config::get('curl.timeout', 60),
'allow_redirects' => Config::get('curl.allow_redirects', false),
'verify' => Config::get('curl.verify_ssl_cert', true)
]);
$client_id = Config::get('app.openstackid_client_id', '');