mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 06:44:33 +02:00
Show warning on login page even if the configuration directory exists
refs #7163
This commit is contained in:
parent
f12473d34b
commit
8909bd5d59
@ -146,7 +146,7 @@ class AuthenticationController extends ActionController
|
||||
$this->view->errorInfo = $e->getMessage();
|
||||
}
|
||||
|
||||
$this->view->configMissing = count($config->toArray()) === 0 && false === is_dir(Config::$configDir);
|
||||
$this->view->configMissing = $config->isEmpty();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user