Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/lookup-server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-11-18 16:51:49 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-18 16:51:49 +0300
commit1b6bc9dbc483ffed9b823bdd4d1d8bb49ae8adbe (patch)
tree0d8ef92c5e04e6e0a4e87a1866f05d01bc18eda5
parent4386c7c1aa652a6098a04dba974671e107a8e7b1 (diff)
Enforce https
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r--server/lib/UserManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/UserManager.php b/server/lib/UserManager.php
index d88e5ae..1cc4434 100644
--- a/server/lib/UserManager.php
+++ b/server/lib/UserManager.php
@@ -169,7 +169,7 @@ class UserManager {
*/
$ocsreq = new \GuzzleHttp\Psr7\Request(
'GET',
- 'http://'.$host . '/ocs/v2.php/identityproof/key/' . $user,
+ 'https://'.$host . '/ocs/v2.php/identityproof/key/' . $user,
[
'OCS-APIREQUEST' => 'true',
'Accept' => 'application/json',