Skip to content

Commit

Permalink
do not verify cert
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
  • Loading branch information
ArtificialOwl committed Apr 3, 2020
1 parent c5e1ad2 commit 42f8e7d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/Service/SharingFrameService.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,17 +291,14 @@ public function initiateShare($circleUniqueId, $frameUniqueId) {
];

$client = $this->clientService->newClient();

$addr = $this->configService->getLocalAddress() . \OC::$WEBROOT;

try {
$client->post(
$this->generatePayloadDeliveryURL(
$addr
), [
$this->generatePayloadDeliveryURL($addr), [
'body' => $args,
'timeout' => Application::CLIENT_TIMEOUT,
'connect_timeout' => Application::CLIENT_TIMEOUT,
'verify' => false
]
);

Expand Down

0 comments on commit 42f8e7d

Please sign in to comment.