fix: [AadAuth] undefined

pull/8762/head
Luciano Righetti 2022-11-18 09:47:57 +01:00
parent 5e9ff4924f
commit 4f3d8282c9
No known key found for this signature in database
GPG Key ID: CB91F2A37C557248
1 changed files with 1 additions and 0 deletions

View File

@ -355,6 +355,7 @@ class AadAuthenticateAuthenticate extends BaseAuthenticate
private function _createHttpSocket()
{
$httpSocket = new HttpSocket();
$proxy = Configure::read('Proxy');
if (isset($proxy['host']) && !empty($proxy['host'])) {
$httpSocket->configProxy($proxy['host'], $proxy['port'], $proxy['method'], $proxy['user'], $proxy['password']);
}