From 4c97fb7d01c257eb08fb7ff5c36021e4402e7f7b Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 15 Feb 2016 10:38:10 +0100 Subject: [PATCH] Don't request basic auth if auth scheme isn't basic fixes #10506 --- library/Icinga/Authentication/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Authentication/Auth.php b/library/Icinga/Authentication/Auth.php index 92d352f6c..f80326999 100644 --- a/library/Icinga/Authentication/Auth.php +++ b/library/Icinga/Authentication/Auth.php @@ -289,7 +289,7 @@ class Auth } list($scheme) = explode(' ', $header, 2); if ($scheme !== 'Basic') { - $this->challengeHttp(); + return false; } $authorization = substr($header, strlen('Basic ')); $credentials = base64_decode($authorization);