diff --git a/app/library/Services.php b/app/library/Services.php index 4dbd124..b3a5af7 100644 --- a/app/library/Services.php +++ b/app/library/Services.php @@ -346,9 +346,7 @@ class Services extends DiDefault protected function _initAuth() { - $auth = new Auth($this->get('config')); - $auth->setEventsManager($this->get('eventsManager')); - return $auth; + return new Auth($this->get('config')); } protected function _initAcl()