diff --git a/app/library/Auth.php b/app/library/Auth.php index 4f2f262..718b0ee 100644 --- a/app/library/Auth.php +++ b/app/library/Auth.php @@ -32,7 +32,7 @@ class Auth extends Component $this->setIdentity($user->getId()); - $this->_eventsManager->fire('auth:onLogin', $this, 'password'); + $this->eventsManager->fire('auth:onLogin', $this, 'password'); return true; } @@ -61,7 +61,7 @@ class Auth extends Component $this->setIdentity($user->getId()); - $this->_eventsManager->fire('auth:onLogin', $this, + $this->eventsManager->fire('auth:onLogin', $this, "OAuth {$data->getProvider()}"); return true;