fix login errors while filesystem is not loaded

This commit is contained in:
Florin Peter 2013-05-31 11:55:40 +02:00
parent a730a72dcb
commit 4a0e69f941
1 changed files with 5 additions and 0 deletions

View File

@ -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