mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-06 16:36:59 +01:00
* [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:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user