From 4ddf88adbcedac87f3b4d5d84fdb92658e136c8e Mon Sep 17 00:00:00 2001 From: twoldanski <66474451+twoldanski@users.noreply.github.com> Date: Thu, 20 Jul 2023 17:21:33 +0200 Subject: [PATCH] [BUGFIX] Adjust felogin changes with latest TYPO3 core (#629) --- Classes/XClass/Controller/LoginController.php | 2 +- composer.json | 3 +++ ext_emconf.php | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Classes/XClass/Controller/LoginController.php b/Classes/XClass/Controller/LoginController.php index f92fcd6d..3ad4c020 100644 --- a/Classes/XClass/Controller/LoginController.php +++ b/Classes/XClass/Controller/LoginController.php @@ -66,7 +66,7 @@ public function loginAction(): ResponseInterface 'permaloginStatus' => $this->getPermaloginStatus(), 'redirectURL' => $this->redirectHandler->getLoginFormRedirectUrl($this->request, $this->configuration, $this->isRedirectDisabled()), 'redirectReferrer' => $this->request->hasArgument('redirectReferrer') ? (string)$this->request->getArgument('redirectReferrer') : '', - 'referer' => $this->getRefererForLoginForm(), + 'referer' => $this->redirectHandler->getReferrerForLoginForm($this->request, $this->settings), 'noRedirect' => $this->isRedirectDisabled(), 'requestToken' => RequestToken::create('core/user-auth/fe') ->withMergedParams(['pid' => implode(',', $storagePageIds)]), diff --git a/composer.json b/composer.json index 507bd236..7ebe0edc 100644 --- a/composer.json +++ b/composer.json @@ -47,6 +47,9 @@ "typo3/cms-form": "^12.4", "typo3/testing-framework": "^7.0" }, + "conflict": { + "typo3/cms-core": "<12.4.3" + }, "config": { "preferred-install": { "*": "dist" diff --git a/ext_emconf.php b/ext_emconf.php index dae0ead9..8504cebc 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -18,8 +18,8 @@ 'version' => '4.1.0', 'constraints' => [ 'depends' => [ - 'frontend' => '12.2.0-12.5.99', - 'typo3' => '12.2.0-12.5.99' + 'frontend' => '12.4.3-12.5.99', + 'typo3' => '12.4.3-12.5.99' ], 'conflicts' => [], 'suggests' => [],