diff options
Diffstat (limited to 'core/Controller/OCJSController.php')
-rw-r--r-- | core/Controller/OCJSController.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/Controller/OCJSController.php b/core/Controller/OCJSController.php index 8eed7a871c6..11a6e5827d8 100644 --- a/core/Controller/OCJSController.php +++ b/core/Controller/OCJSController.php @@ -6,6 +6,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; @@ -42,6 +43,7 @@ class OCJSController extends Controller { IURLGenerator $urlGenerator, CapabilitiesManager $capabilitiesManager, IInitialStateService $initialStateService, + IProvider $tokenProvider, ) { parent::__construct($appName, $request); @@ -56,7 +58,8 @@ class OCJSController extends Controller { $iniWrapper, $urlGenerator, $capabilitiesManager, - $initialStateService + $initialStateService, + $tokenProvider ); } |