mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
parent
c594d6db33
commit
55ad2dd65f
@ -292,7 +292,7 @@ class Auth
|
||||
}
|
||||
$authorization = substr($header, strlen('Basic '));
|
||||
$credentials = base64_decode($authorization);
|
||||
$credentials = array_filter(explode(':', $credentials));
|
||||
$credentials = array_filter(explode(':', $credentials, 2));
|
||||
if (count($credentials) !== 2) {
|
||||
// Deny empty username and/or password
|
||||
$this->challengeHttp();
|
||||
|
Loading…
x
Reference in New Issue
Block a user