mirror of
https://github.com/nextcloud/server.git
synced 2026-05-13 08:59:42 -04:00
Fixes #23899
This commit is contained in:
parent
e13d02de2d
commit
f9aef7ab9f
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