]> git.sur5r.net Git - bacula/bacula/commitdiff
baculum: Fix access denied error on api install wizard page
authorMarcin Haba <marcin.haba@bacula.pl>
Sun, 6 Aug 2017 08:26:27 +0000 (10:26 +0200)
committerMarcin Haba <marcin.haba@bacula.pl>
Sun, 6 Aug 2017 08:40:34 +0000 (10:40 +0200)
gui/baculum/protected/API/Pages/Panel/APIInstallWizard.php

index 5429682e6d3add56c9f53fd1164b51e77cdcd65f..6156e27df079c13714a68ca6f776f33ec17548a0 100644 (file)
@@ -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) {