...
 
Commits (4)
......@@ -53,13 +53,7 @@ class ReactivateUserHook
if ($this->recoverUser($oldUser)) {
$this->oldUserRepository->remove($oldUser);
$this->persistenceManager->persistAll();
$uriBuilder = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::class);
$uri = $uriBuilder->reset()
->setTargetPageUid(37)
->setCreateAbsoluteUri(true)
->buildFrontendUri();
\TYPO3\CMS\Core\Utility\HttpUtility::redirect($uri, \TYPO3\CMS\Core\Utility\HttpUtility::HTTP_STATUS_303);
\TYPO3\CMS\Core\Utility\HttpUtility::redirect($_SERVER['HTTP_ORIGIN'] . '/?id=12&tx_felogin_pi1%5Bforgot%5D=1', \TYPO3\CMS\Core\Utility\HttpUtility::HTTP_STATUS_303);
}
}
}
......