From: Marcin Haba Date: Sun, 6 Aug 2017 08:26:27 +0000 (+0200) Subject: baculum: Fix access denied error on api install wizard page X-Git-Tag: Release-9.0.3~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fd5ae66da6b4e4230b9f84cd776dd55852b605e7;p=bacula%2Fbacula baculum: Fix access denied error on api install wizard page --- 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) {