mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Only setupFS when we have to copy the skeleton
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
22a9c54f89
commit
86de1d569f
1 changed files with 4 additions and 4 deletions
|
|
@ -548,11 +548,11 @@ class Session implements IUserSession, Emitter {
|
|||
\OC::$server->getCsrfTokenManager()->refreshToken();
|
||||
}
|
||||
|
||||
//we need to pass the user name, which may differ from login name
|
||||
$user = $this->getUser()->getUID();
|
||||
OC_Util::setupFS($user);
|
||||
|
||||
if ($firstTimeLogin) {
|
||||
//we need to pass the user name, which may differ from login name
|
||||
$user = $this->getUser()->getUID();
|
||||
OC_Util::setupFS($user);
|
||||
|
||||
// TODO: lock necessary?
|
||||
//trigger creation of user home and /files folder
|
||||
$userFolder = \OC::$server->getUserFolder($user);
|
||||
|
|
|
|||
Loading…
Reference in a new issue