mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fixes #23899
This commit is contained in:
parent
35b8c0dd68
commit
bab55141a6
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