diff --git a/appinfo/info.xml b/appinfo/info.xml index 4e11269..fa26c0b 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -17,7 +17,7 @@ Read the [documentation](https://github.com/nextcloud/user_external#readme) to learn how to configure it! ]]> - 1.0.0 + 1.0.1 agpl Robin Appelman diff --git a/lib/http.php b/lib/http.php index 8c33851..5e3a671 100644 --- a/lib/http.php +++ b/lib/http.php @@ -1,6 +1,6 @@ + * Copyright (c) 2021 Sebastian Sterk * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. @@ -34,7 +34,7 @@ public function sendUserData($user, $password){ curl_setopt($ch, CURLOPT_URL, $this->authenticationEndpoint); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_NOBODY, true); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(array(