aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/user.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-04-11 10:35:52 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-11 10:35:52 +0200
commitbab55141a6d27444bd4138976c8dd6553339c606 (patch)
tree7732e403b50701d4275dbb569926c0acb27603c6 /lib/private/user.php
parent35b8c0dd6887adfc045c5ff447553e69976af3d3 (diff)
downloadnextcloud-server-bab55141a6d27444bd4138976c8dd6553339c606.tar.gz
nextcloud-server-bab55141a6d27444bd4138976c8dd6553339c606.zip
Fixes #23899
Diffstat (limited to 'lib/private/user.php')
-rw-r--r--lib/private/user.php4
1 files changed, 4 insertions, 0 deletions
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' => ''));
}