mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 00:34:05 +02:00
TemplateController: pass auth
This commit is contained in:
parent
48db90c7df
commit
a2abbd326b
@ -213,7 +213,7 @@ abstract class TemplateController extends CompatController
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
$this->content()->add(
|
$this->content()->add(
|
||||||
TemplateUsageTable::forTemplate($template, $this->getBranch())
|
TemplateUsageTable::forTemplate($template, $this->Auth(), $this->getBranch())
|
||||||
);
|
);
|
||||||
} catch (NestingError $e) {
|
} catch (NestingError $e) {
|
||||||
$this->content()->add(Hint::error($e->getMessage()));
|
$this->content()->add(Hint::error($e->getMessage()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user