mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-08 16:12:43 -04:00
Sometimes you just herp the derp so hard it herpderps
This commit is contained in:
parent
7ed3acbbd8
commit
c83659eff7
1 changed files with 1 additions and 1 deletions
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue