Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e57058d

Browse files
committed
More compliant useragent
1 parent eac354a commit e57058d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Helper/Aperture.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public function executeAuthRequest ($service_url, $method = 'GET', $payload = nu
184184
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 15);
185185
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
186186
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
187-
curl_setopt($ch, CURLOPT_USERAGENT,'section.io Magento 2 Extension');
187+
curl_setopt($ch, CURLOPT_USERAGENT,'section.io-Magento-2-Extension/101.2.1');
188188

189189
if ($username = $settingsFactory->getData('user_name')) {
190190
$credentials = ($username . ':' . $this->encryptor->decrypt($settingsFactory->getData('password')));

0 commit comments

Comments
 (0)