mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 15:54:03 +02:00
DirectorObjectForm: fallback, static auth
This commit is contained in:
parent
c58d9f321b
commit
b9fd1f42d9
@ -78,6 +78,9 @@ abstract class DirectorObjectForm extends DirectorForm
|
|||||||
|
|
||||||
public function getAuth()
|
public function getAuth()
|
||||||
{
|
{
|
||||||
|
if ($this->auth === null) {
|
||||||
|
$this->auth = Auth::getInstance();
|
||||||
|
}
|
||||||
return $this->auth;
|
return $this->auth;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user