This commit is contained in:
Thomas Müller 2016-04-11 10:35:52 +02:00
parent 35b8c0dd68
commit bab55141a6
1 changed files with 4 additions and 0 deletions

View File

@ -203,6 +203,10 @@ class OC_User {
self::setUserId($uid);
self::setDisplayName($uid);
self::getUserSession()->setLoginName($uid);
// setup the filesystem
OC_Util::setupFS($uid);
//trigger creation of user home and /files folder
\OC::$server->getUserFolder($uid);
OC_Hook::emit("OC_User", "post_login", array("uid" => $uid, 'password' => ''));
}