Faster credentials check
This commit is contained in:
parent
8db5b121ff
commit
0f149a691e
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue