summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorSandro Lutz <sandro.lutz@temparus.ch>2017-02-01 20:16:51 +0100
committerSandro Lutz <sandro.lutz@temparus.ch>2017-02-01 21:54:00 +0100
commit20f878b014aa9d95d6f2f81bc120efe5cf04a33a (patch)
treec7859035198ea0f7a99ea9cad212f05226c80378 /core/Controller
parent6feff0cebab20b3738bab239aa1f09b5c91d92ef (diff)
downloadnextcloud-server-20f878b014aa9d95d6f2f81bc120efe5cf04a33a.tar.gz
nextcloud-server-20f878b014aa9d95d6f2f81bc120efe5cf04a33a.zip
Fix typo for UserManager variable
Signed-off-by: Sandro Lutz <sandro.lutz@temparus.ch>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/LoginController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php
index c53637aaedf..e19794f2cd6 100644
--- a/core/Controller/LoginController.php
+++ b/core/Controller/LoginController.php
@@ -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));
}