* [MOD] Update dependencies

* [FIX] Fix displaying install page when the app is already installed. Thanks to @kmmndr for the notice. Closes #1629
* [FIX] Fix issue when dropping DB user after an errored installation.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2020-12-20 15:25:20 +01:00
parent de1e4366c6
commit a55548f4c4
4 changed files with 1649 additions and 516 deletions

View File

@@ -49,6 +49,12 @@ final class InstallController extends ControllerBase
*/
public function indexAction()
{
if ($this->configData->isInstalled()) {
$this->router->response()
->redirect('index.php?r=login');
return;
}
$layoutHelper = $this->dic->get(LayoutHelper::class);
$layoutHelper->getPublicLayout('index', 'install');