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…
Reference in New Issue