fix login errors while filesystem is not loaded
This commit is contained in:
parent
a730a72dcb
commit
4a0e69f941
1 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,11 @@ class Hooks {
|
|||
|
||||
$view = new \OC_FilesystemView('/');
|
||||
|
||||
// ensure filesystem is loaded
|
||||
if(!\OC\Files\Filesystem::$loaded) {
|
||||
\OC_Util::setupFS($params['uid']);
|
||||
}
|
||||
|
||||
$util = new Util($view, $params['uid']);
|
||||
|
||||
// setup user, if user not ready force relogin
|
||||
|
|
Loading…
Reference in a new issue