Created
August 4, 2021 11:58
-
-
Save PetraMotz/1a708ba938c9b1bb57d00e8685f1acb8 to your computer and use it in GitHub Desktop.
TYPO3 #t3 #login
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function fixFeloginPasswordReset() { | |
//mail('[email protected]', 'debug', 'login'); | |
if ($_REQUEST['tx_felogin_pi1']['forgot_hash']) { | |
$GLOBALS['TSFE']->fe_user->setAndSaveSessionData('forgot_hash', ['forgot_hash' => $_REQUEST['tx_felogin_pi1']['forgot_hash']]); | |
} | |
} | |
page.1 = USER_INT | |
page.1 { | |
userFunc = Webx\WebxRealestates\Controller\RegisterController->fixFeloginPasswordReset | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment