Skip to content

Commit

Permalink
Show warning on login page even if the configuration directory exists
Browse files Browse the repository at this point in the history
refs #7163
  • Loading branch information
Johannes Meyer committed Nov 11, 2014
1 parent f12473d commit 8909bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/AuthenticationController.php
Expand Up @@ -146,7 +146,7 @@ public function loginAction()
$this->view->errorInfo = $e->getMessage();
}

$this->view->configMissing = count($config->toArray()) === 0 && false === is_dir(Config::$configDir);
$this->view->configMissing = $config->isEmpty();
}

/**
Expand Down

0 comments on commit 8909bd5

Please sign in to comment.