mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-20 20:34:25 +02:00
parent
07849e0fea
commit
2a4e614b5e
@ -88,13 +88,13 @@ class AuthChain implements Iterator
|
|||||||
*/
|
*/
|
||||||
public function valid()
|
public function valid()
|
||||||
{
|
{
|
||||||
if (!$this->config->valid()) {
|
if (! $this->config->valid()) {
|
||||||
// Stop when there are no more backends to check
|
// Stop when there are no more backends to check
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$backendConfig = $this->config->current();
|
$backendConfig = $this->config->current();
|
||||||
if ((bool) $backendConfig->get('disabled', false) === true) {
|
if ((bool) $backendConfig->get('disabled', false)) {
|
||||||
$this->next();
|
$this->next();
|
||||||
return $this->valid();
|
return $this->valid();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user