app/library/Auth.php: minor fix.
This commit is contained in:
parent
b47f2eb741
commit
b722ecd836
1 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ class Auth extends Component
|
||||||
|
|
||||||
$this->setIdentity($user->getId());
|
$this->setIdentity($user->getId());
|
||||||
|
|
||||||
$this->_eventsManager->fire('auth:onLogin', $this, 'password');
|
$this->eventsManager->fire('auth:onLogin', $this, 'password');
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
@ -61,7 +61,7 @@ class Auth extends Component
|
||||||
|
|
||||||
$this->setIdentity($user->getId());
|
$this->setIdentity($user->getId());
|
||||||
|
|
||||||
$this->_eventsManager->fire('auth:onLogin', $this,
|
$this->eventsManager->fire('auth:onLogin', $this,
|
||||||
"OAuth {$data->getProvider()}");
|
"OAuth {$data->getProvider()}");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Reference in a new issue