From fd5ae66da6b4e4230b9f84cd776dd55852b605e7 Mon Sep 17 00:00:00 2001 From: Marcin Haba Date: Sun, 6 Aug 2017 10:26:27 +0200 Subject: [PATCH] baculum: Fix access denied error on api install wizard page --- gui/baculum/protected/API/Pages/Panel/APIInstallWizard.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/gui/baculum/protected/API/Pages/Panel/APIInstallWizard.php b/gui/baculum/protected/API/Pages/Panel/APIInstallWizard.php index 5429682e6d..6156e27df0 100644 --- a/gui/baculum/protected/API/Pages/Panel/APIInstallWizard.php +++ b/gui/baculum/protected/API/Pages/Panel/APIInstallWizard.php @@ -59,9 +59,6 @@ class APIInstallWizard extends BaculumAPIPage { $config = $this->getModule('api_config'); $this->config = $config->getConfig(); $this->first_run = (count($this->config) === 0); - if ($this->first_run === false) { - die('Access denied.'); - } } public function onLoad($param) { -- 2.39.5