From: Michael Date: Sat, 9 Dec 2017 12:23:15 +0000 (+0000) Subject: Faster credentials check X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0f149a691e4059e3faf20937b471a0d5b3d363d7;p=friendica.git Faster credentials check --- diff --git a/src/Util/ExAuth.php b/src/Util/ExAuth.php index c68cd41166..973969678b 100644 --- a/src/Util/ExAuth.php +++ b/src/Util/ExAuth.php @@ -270,7 +270,9 @@ class ExAuth */ private function checkCredentials($host, $user, $password, $ssl) { - $url = ($ssl ? 'https' : 'http') . '://' . $host . '/api/account/verify_credentials.json'; + $this->writeLog(LOG_INFO, 'external credential check for ' . $user . '@' . $host); + + $url = ($ssl ? 'https' : 'http') . '://' . $host . '/api/account/verify_credentials.json?skip_status=true'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url);