Secure /config/

refs #11
This commit is contained in:
Alexander A. Klimov 2017-09-20 17:26:15 +02:00
parent 1f5d59a4ad
commit 59d6f7de54

View file

@ -7,6 +7,12 @@ use Icinga\Web\Controller;
class ConfigController extends Controller
{
public function init()
{
$this->assertPermission('config/modules');
parent::init();
}
public function indexAction()
{
$this->view->form = $form = new ConfigForm();