Fix indentation
Signed-off-by: Sandro Lutz <sandro.lutz@temparus.ch>
This commit is contained in:
parent
4ebcd5ac0b
commit
e14d50eb1f
|
@ -217,7 +217,7 @@ class LoginController extends Controller {
|
|||
|
||||
$originalUser = $user;
|
||||
|
||||
$this->userManager->emit('\OC\User', 'preLoginValidation', array($user, $password));
|
||||
$this->userManager->emit('\OC\User', 'preLoginValidation', array($user, $password));
|
||||
|
||||
// TODO: Add all the insane error handling
|
||||
/* @var $loginResult IUser */
|
||||
|
|
|
@ -295,9 +295,9 @@ class Server extends ServerContainer implements IServerContainer {
|
|||
/** @var $user \OC\User\User */
|
||||
\OC_Hook::emit('OC_User', 'post_setPassword', array('run' => true, 'uid' => $user->getUID(), 'password' => $password, 'recoveryPassword' => $recoveryPassword));
|
||||
});
|
||||
$userSession->listen('\OC\User', 'preLoginValidation', function ($uid, $password) {
|
||||
\OC_Hook::emit('OC_User', 'pre_loginValidation', array('run' => true, 'uid' => $uid, 'password' => $password));
|
||||
});
|
||||
$userSession->listen('\OC\User', 'preLoginValidation', function ($uid, $password) {
|
||||
\OC_Hook::emit('OC_User', 'pre_loginValidation', array('run' => true, 'uid' => $uid, 'password' => $password));
|
||||
});
|
||||
$userSession->listen('\OC\User', 'preLogin', function ($uid, $password) {
|
||||
\OC_Hook::emit('OC_User', 'pre_login', array('run' => true, 'uid' => $uid, 'password' => $password));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue