mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
Fix parse error in Auth.php
This commit is contained in:
parent
45c95778ae
commit
c78a7912e7
@ -282,7 +282,8 @@ class Auth
|
||||
if ($request->isXmlHttpRequest() || ! $request->isApiRequest()) {
|
||||
return false;
|
||||
}
|
||||
if (empty($header = $request->getHeader('Authorization'))) {
|
||||
$header = $request->getHeader('Authorization');
|
||||
if (empty($header)) {
|
||||
$this->challengeHttp();
|
||||
}
|
||||
list($scheme) = explode(' ', $header, 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user