diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-06-24 17:53:37 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-06-27 14:05:27 +0200 |
commit | 630e4b1b463c773e4a23556672fbd90af6176cab (patch) | |
tree | 08139374a319fc18b60c6557e0fbfe84dcb46bfc /lib/private/Server.php | |
parent | db6361ef0314868edc9d58a81c0806c8c758af0a (diff) | |
download | nextcloud-server-630e4b1b463c773e4a23556672fbd90af6176cab.tar.gz nextcloud-server-630e4b1b463c773e4a23556672fbd90af6176cab.zip |
check password for link shares
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r-- | lib/private/Server.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index 8345a0b66e0..ab2e7b1fdf6 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -235,7 +235,7 @@ class Server extends ServerContainer implements IServerContainer { } else { $defaultTokenProvider = null; } - + $userSession = new \OC\User\Session($manager, $session, $timeFactory, $defaultTokenProvider, $c->getConfig()); $userSession->listen('\OC\User', 'preCreateUser', function ($uid, $password) { \OC_Hook::emit('OC_User', 'pre_createUser', array('run' => true, 'uid' => $uid, 'password' => $password)); @@ -674,7 +674,8 @@ class Server extends ServerContainer implements IServerContainer { $c->getL10N('core'), $factory, $c->getUserManager(), - $c->getLazyRootFolder() + $c->getLazyRootFolder(), + $c->getEventDispatcher() ); return $manager; |