mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 07:04:07 +01:00
fix: Allow to install on database error.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -38,7 +38,9 @@ final class IndexController extends ControllerBase
|
||||
{
|
||||
public function indexAction(): void
|
||||
{
|
||||
if ($this->configData->isInstalled()) {
|
||||
$skipInstalled = $this->request->analyzeBool('skipInstalled', false);
|
||||
|
||||
if ($skipInstalled === false && $this->configData->isInstalled()) {
|
||||
$this->router->response()->redirect('index.php?r=login');
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user