diff options
author | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-04-19 08:35:21 +0200 |
---|---|---|
committer | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-04-19 08:35:21 +0200 |
commit | f8c55beaae9dc0e5fefb4aa8f78d3d71ea580d59 (patch) | |
tree | f4c7eca73145327e6fd66899a493772491f81548 /lib | |
parent | f812f51c5d99cdf8dceaabe3ea44542643809cdb (diff) | |
parent | bab55141a6d27444bd4138976c8dd6553339c606 (diff) | |
download | nextcloud-server-f8c55beaae9dc0e5fefb4aa8f78d3d71ea580d59.tar.gz nextcloud-server-f8c55beaae9dc0e5fefb4aa8f78d3d71ea580d59.zip |
Merge pull request #23903 from owncloud/fix-user-data-folder-creation-for-apache-login
Ensure the user's data folder is created for IApacheBackend authentication
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/user.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/user.php b/lib/private/user.php index 8767a8d5b6d..11c35daa0de 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' => '')); } |