diff --git a/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php b/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php index 42b0b1d7c7a264a54bde0d3880610a1a00c29fd7..12293607249355bde9bfb0c1b9d63ec91fd41b9f 100644 --- a/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php +++ b/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php @@ -154,6 +154,9 @@ class FrontendUserAuthentication extends AbstractUserAuthentication $this->sendNoCacheHeaders = false; $this->getFallBack = true; $this->getMethodEnabled = true; + $this->lockIP = $GLOBALS['TYPO3_CONF_VARS']['FE']['lockIP']; + $this->checkPid = $GLOBALS['TYPO3_CONF_VARS']['FE']['checkFeUserPid']; + $this->lifetime = (int)$GLOBALS['TYPO3_CONF_VARS']['FE']['lifetime']; } /** diff --git a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php index b976bcf412ee14384563b1f1e6b1bce1e32d8a89..5e11d85a3e6432b41648a48b094bd810123e3af8 100644 --- a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php +++ b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php @@ -992,9 +992,6 @@ class TypoScriptFrontendController public function initFEuser() { $this->fe_user = GeneralUtility::makeInstance(FrontendUserAuthentication::class); - $this->fe_user->lockIP = $GLOBALS['TYPO3_CONF_VARS']['FE']['lockIP']; - $this->fe_user->checkPid = $GLOBALS['TYPO3_CONF_VARS']['FE']['checkFeUserPid']; - $this->fe_user->lifetime = (int)$GLOBALS['TYPO3_CONF_VARS']['FE']['lifetime']; // List of pid's acceptable $pid = GeneralUtility::_GP('pid'); $this->fe_user->checkPid_value = $pid ? implode(',', GeneralUtility::intExplode(',', $pid)) : 0;