From b722ecd8366b3fb7c281ad63b2cee0f195671338 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sat, 11 Aug 2018 20:15:03 +0200 Subject: [PATCH] app/library/Auth.php: minor fix. --- app/library/Auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;