diff options
Diffstat (limited to 'lib/private/User/Session.php')
-rw-r--r-- | lib/private/User/Session.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php index 2973240a4a1..cd26337cd20 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -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); |