From bab55141a6d27444bd4138976c8dd6553339c606 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Mon, 11 Apr 2016 10:35:52 +0200 Subject: Fixes #23899 --- lib/private/user.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/private/user.php b/lib/private/user.php index 26062f503d2..58405ed6444 100644 --- a/lib/private/user.php +++ b/lib/private/user.php @@ -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' => '')); } -- cgit v1.2.3