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
This commit is contained in:
commit
f8c55beaae
1 changed files with 4 additions and 0 deletions
|
@ -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' => ''));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue