mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 01:04:09 +02:00
parent
8a4f15d32c
commit
74b4c344d6
@ -282,7 +282,7 @@ class Auth
|
||||
if ($request->isXmlHttpRequest() || ! $request->isApiRequest()) {
|
||||
return false;
|
||||
}
|
||||
if (($header = $request->getHeader('Authorization')) === false || empty($header)) {
|
||||
if (empty($header = $request->getHeader('Authorization'))) {
|
||||
$this->challengeHttp();
|
||||
}
|
||||
list($scheme) = explode(' ', $header, 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user