Util: Manager is now Auth in Web 2
This commit is contained in:
parent
3a96f9ebe4
commit
362eddb75c
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
namespace Icinga\Module\Director;
|
namespace Icinga\Module\Director;
|
||||||
|
|
||||||
use Icinga\Authentication\Manager;
|
use Icinga\Authentication\Auth;
|
||||||
use Icinga\Data\ResourceFactory;
|
use Icinga\Data\ResourceFactory;
|
||||||
use Icinga\Module\Director\Web\Form\QuickForm;
|
use Icinga\Module\Director\Web\Form\QuickForm;
|
||||||
use Icinga\Web\Url;
|
use Icinga\Web\Url;
|
||||||
|
@ -32,7 +32,7 @@ class Util
|
||||||
public static function auth()
|
public static function auth()
|
||||||
{
|
{
|
||||||
if (self::$auth === null) {
|
if (self::$auth === null) {
|
||||||
self::$auth = Manager::getInstance();
|
self::$auth = Auth::getInstance();
|
||||||
}
|
}
|
||||||
return self::$auth;
|
return self::$auth;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue