diff options
Diffstat (limited to 'core/Controller/OCJSController.php')
-rw-r--r-- | core/Controller/OCJSController.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/Controller/OCJSController.php b/core/Controller/OCJSController.php index fa13f21607c..af0d4689efb 100644 --- a/core/Controller/OCJSController.php +++ b/core/Controller/OCJSController.php @@ -28,6 +28,7 @@ namespace OC\Core\Controller; use bantu\IniGetWrapper\IniGetWrapper; +use OC\Authentication\Token\IProvider; use OC\CapabilitiesManager; use OC\Template\JSConfigHelper; use OCP\App\IAppManager; @@ -59,7 +60,9 @@ class OCJSController extends Controller { IniGetWrapper $iniWrapper, IURLGenerator $urlGenerator, CapabilitiesManager $capabilitiesManager, - IInitialStateService $initialStateService) { + IInitialStateService $initialStateService, + IProvider $tokenProvider, + ) { parent::__construct($appName, $request); $this->helper = new JSConfigHelper( @@ -73,7 +76,8 @@ class OCJSController extends Controller { $iniWrapper, $urlGenerator, $capabilitiesManager, - $initialStateService + $initialStateService, + $tokenProvider ); } |