From c83659eff78438f1450f074322ffdaf2a852571b Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 29 Sep 2016 16:15:35 +0200 Subject: [PATCH] Sometimes you just herp the derp so hard it herpderps --- library/Icinga/Web/Controller/ModuleActionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Controller/ModuleActionController.php b/library/Icinga/Web/Controller/ModuleActionController.php index 38826a84c..2cb5f62bc 100644 --- a/library/Icinga/Web/Controller/ModuleActionController.php +++ b/library/Icinga/Web/Controller/ModuleActionController.php @@ -26,7 +26,7 @@ class ModuleActionController extends ActionController protected function prepareInit() { $this->moduleInit(); - if ($this->requiresLogin() + if (($this->Auth()->isAuthenticated() || $this->requiresLogin()) && $this->getFrontController()->getDefaultModule() !== $this->getModuleName()) { $this->assertPermission(Manager::MODULE_PERMISSION_NS . $this->getModuleName()); }