Fix typo for UserManager variable

Signed-off-by: Sandro Lutz <sandro.lutz@temparus.ch>
This commit is contained in:
Sandro Lutz 2017-02-01 20:16:51 +01:00
parent 6feff0ceba
commit 20f878b014

View file

@ -215,7 +215,7 @@ class LoginController extends Controller {
return $this->generateRedirect($redirect_url);
}
if ($this->manager instanceof PublicEmitter) {
if ($this->userManager instanceof PublicEmitter) {
$this->userManager->emit('\OC\User', 'preLogin', array($user, $password));
}