diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2024-06-12 14:31:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-12 14:31:37 +0200 |
commit | b54668be3583d01c2c57c43d52df7466669f54c6 (patch) | |
tree | 22aa972a92db00548371deb5104900fdce86895e /core | |
parent | 81e7b599a8984cfce0f7c91aca91bb8b40b3c0c6 (diff) | |
parent | 4ec174197f3ee47631193f7941ef656ce6b06be1 (diff) | |
download | nextcloud-server-b54668be3583d01c2c57c43d52df7466669f54c6.tar.gz nextcloud-server-b54668be3583d01c2c57c43d52df7466669f54c6.zip |
Merge pull request #45704 from nextcloud/backport/43942/stable28
[stable28] fix(Session): avoid password confirmation on SSO
Diffstat (limited to 'core')
-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 e9093439125..d20665ccfea 100644 --- a/core/Controller/OCJSController.php +++ b/core/Controller/OCJSController.php @@ -29,6 +29,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; @@ -64,6 +65,7 @@ class OCJSController extends Controller { IURLGenerator $urlGenerator, CapabilitiesManager $capabilitiesManager, IInitialStateService $initialStateService, + IProvider $tokenProvider, ) { parent::__construct($appName, $request); @@ -78,7 +80,8 @@ class OCJSController extends Controller { $iniWrapper, $urlGenerator, $capabilitiesManager, - $initialStateService + $initialStateService, + $tokenProvider ); } |